The solar wind is strong enough closer in to clear out any large regions of gas and force it out further into the solar system. Which just leaves the heavy/rocky parts remaining. Or the inner planets initially formed as gas giants too but the solar wind stripped away most of their atmosphere. Gas giants may have rocky parts too, but small compared with their overall size.
Latest Answers