I wonder if his legs failing him in the crucial part of the race, which is a performance issue, is somehow conected to all the expectation/pressure/criticism he has been receiving. Even here he gets way more attention than someone who is only slightly older, but has already won 2 Tours and 2 monuments.
Pogacar tells us part of the secret of his success is that he is so carefree and relaxed and races with no pressure other than the healthy agonistic kind. And that he is not trying to "make history", even though he undoubtedly is. By contrast, Evenepoel must be extremely stressed after the fallout with Van Aert that has been going on since the Olympics really. This cannot be good for his head, even if he has tried to project otherwise on TV and in social media. In addition, he clearly put too much pressure on himself to "proove" his merit in trying to come back too soon after his horrific incident, worsened by his team unwisely putting him in the Giro without even any racing in his legs prior.
He also seems to be very concerned about not having achieved what someone else has at his age.
If this is the case then he needs to liberate himself from all the negetivity and stress. While his team needs to help him with a "mental coach" or whatever its called these days. Someone he can trust and be mentored by if he doesn't already have such a figure. And he should be made to stay off social media and not pay any attention to what is written about him. A tall order, to be sure.