It's not by chance. It's a natural outgrowth from the natural laws. Gravity exists in our universe so matter tends to clump up. The more matter clumps up the more gravity acts on it equally pulling together, creating a sphere in space. As more and more of that matter collects the pressure from the weight builds and builds, getting hotter and hotter, until finally with enough pressure and heat nuclear fusion ignition happens and a star is born. If it never gets enough material to get to that point you get a ball of rock, a planet, like us. On and on, yadda yadda until eventually there's us sitting on the rock floating through space talking about it. If gravity didn't exist in the same way in another universe then matter wouldn't clump up and there probably aren't people talking about things in that universe.
You can posit that the natural laws, physics, were created by God and just set in motion, but at that point it's really the same thing as I'm talking about. Nature. The universe. Science. You have to have a God that watches over and intervenes in the creation for it really to make a difference. I've never seen any evidence of that and different faiths and traditions have very different ideas on His teachings if He does exist. So like I said, I just try to do the best I can and hopefully He'll see that.