The author mentions in his testimony, that the correlation between social media use and mental illness may be around r=0.10. This means in general terms that it it explains about 10% of of the impact. This leaves a lot of room for additional factors, and factors with much greater impact.