Summary
Joel's panic attacks in The Last of Us are associated with his growing attachment to Ellie and his fear of not being able to keep her safe. This is confirmed by the showrunners
1
and is further explored in the episode 6 of the HBO show.
2
3
Joel himself explains this to his brother Tommy after their reunion.
4
5
His medical condition is also canonized in the show.
6
According to