We can say there are two important kinds of laws in the universe: natural laws and human laws. Natural laws are the laws of nature or the laws of physics. Human laws are the laws made by humans.
How do we determine if a law or rule is natural or human-made? One way is to see if you can break it.
You cannot break a natural law even if you tried (e.g. you can never go faster than the speed of light, you cannot reverse gravity, etc.). But human laws can be broken by simply trying (e.g. you can eat pork or have sex before marriage, despite some countries and religions having laws to prohibit those).
Some human laws are necessary for humans and their survival (e.g. “You cannot murder an innocent person”). Other human laws are not really necessary and instead could even be harmful for humans (e.g. “Eating pork is bad”, “Wives should serve their husbands”, etc.).
Prohibitions only exist in human laws, not natural laws. Humans will punish you for breaking human laws, but nature will never punish you for breaking natural laws (because they are already unbreakable).