How were the inner planets formed? What allowed earth to become hospitable for life?
The inner planets formed from protoplanets. The earth had environmental factors that proved propitious as far as sustaining life is concerned.
Protoplanets orbiting the Sun cooled to form planets. The main factors supporting life on Earth include distance from the Sun, availability of water and presence of amino acids needed for the fabrication of life.