What stops an adult from buying alcohol and letting an under-18 drink it?
But if a kid dies of alcohol poisoning or drunk driving, you can certainly get in serious legal trouble. Those two things (not wanting kids to be harmed by alcohol, and not wanting legal trouble) stop a very large number of adults from giving minors alcohol.
I also would personally prefer we not destroy the internet in pursuit of that goal.