Those were two confident assertions with zero supporting evidence.
Smartphone use is correlated with depression: https://pmc.ncbi.nlm.nih.gov/articles/PMC10587281/
Social media use is correlated with depression in young adults: https://pmc.ncbi.nlm.nih.gov/articles/PMC4853817/
These are just two results from a 30 second Google search. There is a ton of information out there that directly correlates both social media and immediate, ubiquitous access to it (i.e. smartphones) with negative social outcomes, including suicide rates.