Giving parents the tools isn't working. They already have the tools and aren't using them. This is letting the government decide what's right for your child and even adults across the board because people hate this one part of digital life and are too lazy to teach their kids to interact with it responsibly with the guardrails and restrictions they can totally apply.
Every time this idea of "Oh, kids shouldn't have access to social media" comes up, I get upset because kids only get access through their parents. There are precious few children who have absolute control over their digital life. Their parents have just declined to see what's possible because of the modern version of "I'm not a computer person." Or they can't take their kid's displeasure.
Apparently, people think that at 18, you'll magically have the skills to be responsible on the internet instead of what will really happen we send a bunch of adults into the deep end to make mistakes without guidance or the lienancy of youth. Something like this law takes responsible parents ability to slowly ramp up their kid's ability to be competent digital citizen and cripples the utility as a whole, especially for those who hold minoriry opinions like, "man, I really dislike my country because of reasons the larger community is ignoring. Wish the government would treat me like a person." See LGBT community, but there are more.
You know what I don't see even at my kid's young age?
Sometimes parents suck or just lack knowledge or means to do the right thing and thus society in the form of government steps in.