No, it has a lot to do with religion. In places like Australia and Singapore it's explicitly the religious right that's pushing back on things like gay rights and, yes, porn.
The UK is an oddball. I think "the online safety act" probably originated from more religiously minded people, but the angle was pretty strongly "Think of the children!".
I can definitely say that the UK is pretty non-religious in general.
For the US, though, it's absolutely a religion thing.