It's a fair point. But what explains the uptick in depression and mental health issues starting around 2012, disproportionately impacting pre-teen girls and not contained to any geo. The author's entire point is that social media is the only explanation that that has been proposed [1]. Moreover, it's not a far-fetched explanation. He very aware that correlation does not provide causation, and that it could be the other way around. However, no one (according to him) has offered up a theory which explains the data like the social media theory does.
[1] https://jonathanhaidt.substack.com/p/social-media-mental-ill...