What was the point of "God" creating other planets or even creating space if humans weren't going to be able to use it. Of course we have found a way around it using technological advances like spaceships but the planets we do know of we cant even use them to live on if Mother Earth goes crashing down.
It is not known with certainty how planets are formed. The prevailing theory is that they are formed during the collapse of a nebula into a thin disk of gas and dust. A protostar forms at the core, surrounded by a rotating protoplanetary disk. Through accretion (a process of sticky collision) dust particles in the disk steadily accumulate mass to form ever-larger bodies. Local concentrations of mass known as planetesimals form, and these accelerate the accretion process by drawing in additional material by their gravitational attraction.
These concentrations become ever denser until they collapse inward under gravity to form protoplanets. After a planet reaches a diameter larger than the Moon, it begins to accumulate an extended atmosphere, greatly increasing the capture rate of the planetesimals by means of atmospheric drag.
Who knows, who can even say for certain that there's no life on Mars, or other planets? Maybe the life there is something that lives under ground as it's cold there so living near the core would make a bit sense. Just because we don't understand and can't fathom how other forms of life could live doesn't mean we're the only ones who got it 'right'... if there even is such thing as 'right' in space. God doesn't exist tho.