The state doesn’t regulate these things to protect people, it does so to manage risk to itself. Porn, guns, gambling, tobacco, alcohol, etc., are tolerated so long as they are contained, taxable, and politically useful.
Regulating porn is this system likely trying to move the needle on declining birth rates. You can look to a host of pro-natalist efforts in China as the likely inspiration.
And without a doubt, overreach by governments will continue.