It's much easier to say to a child "you can't have a social media account, it's the law because experts have determined it's not healthy at your age" than "your mother and I think that social media is bad for you".
A true observation, but not sufficient to criminalize and infringe on basically everybody else.
There are all sorts of things that would be easier for parents to prohibit if the government made it illegal: Popular toys, M&M's, pork, anything that questions the bible...
It's much easier to say to a child "you can't have a social media account, it's the law because experts have determined it's not healthy at your age" than "your mother and I think that social media is bad for you".