Just spend the morning on Reddit (or even HN!) and notice how your entire outlook changes.
There really needs to be a close proximity to the source; this means that online content isn’t really going to spread it. You need to be physically located in the environment near the people with depression and anxiety.
Also, you have to be easily socially suggestible and open to the input of others, on the level of mirroring and the chameleon effect.
Example: I worked for a boss with depression and anxiety. It never rubbed off on me, but his wife was highly suggestible and she seemed to mirror his foibles and idiosyncrasies.
I don’t know if I would go as far as the conclusions of the Rat Park experiment, but there is something to be said for a healthy, safe, and nurturing environment.
For approximately 10% of the population, who are considered highly suggestible. For comparison, Fox News had 1.21 percent of the US population as a primetime audience in 2020. Don’t know what the Twitter numbers are.
Of course, I am not implying that people with depression are stupid.
A few of my family members struggle with depression and also with anxiety. I love them dearly, but spending too much time with them can ruin my mood. It is exhausting to try to be upbeat around someone who is depressed; in my experience, they win, and I am dragged into sadness as well. Similarly, it is stressful to be around someone who suffers from anxiety.
It is widely accepted that mental illnesses like depression and anxiety are positive feedback loops. I don’t know why the same traits that make them so would not be able to impact others.