I agree that Patrick's anxiety is probably not being "caused" by social media, but some of the crap I have read about Fran showing special treatment to his sons, for example, certainly can't help. Anxiety and other mental illness is way more complex, and I suspect Patrick has been and will be getting help from professionals, who will look for root causes and make suggestions how to address the problem. As others have said, this is likely a problem that Patrick will need to deal with for a long time. He is fortunate to have a really great support system around him. We can't help much, but sometimes a few bad or good words can exacerbate or improve what the person is experiencing.
hopefully with behavioral therapy (and maybe medication) he can learn to cope and get back to functioning the way he needs to