Colorado and California age verification bills exempt open source operating systems
(www.gamingonlinux.com)
The social media companies don't want that kind of responsibility. So they're trying to make the operating system vendors do it. That's roughly how that law came into existence.