The multiverse theory can explain that. Maybe there are zillions of universes, each a bit different to each other. Or every time Big Bang becomes Big Crunch, the universe is restarted and the cards (=laws) are shuffled. 99.999999999% of the universes are in bad standing and life cannot exist. But then one universe turns out just right, and here we are, wondering how strangely fit the universe seems.
Also, we tend to see our own environment as the "right one". We look for exoplanets with oxygen, water and nice temperatures around 20C. But imagine life existed on Venus (
maybe it does) . If they were intelligent, they would probably think: "Thankfully, we live in an 467C hot atmosphere of sulfuric acid at a pressure of 93 bar".