A lot of people using social media aren't teenagers. A lot of teenagers are depressed and anxious for reasons other than using social media. A lot of teenagers use social media and aren't depressed and anxious because of it. A lot of teenagers find community and support for their issues through social media. Your extrapolation from a sample size of "one teenage girl and her friends that I'm aware of" to the billions of people currently using social media, and your conclusion that social media is responsible for all of the maladies common to youth doesn't really mean much.