For the same reason it's illegal to sell tobacco to minors. Your kids have a right to exist in society without a constant chaperone, and other adults don't have a right to interact with your kids as if they're adults.
There's plenty of precedent. I'm allowed to give my kids alcohol, but you're not. Something similar could make sense for social media below a certain age.