Step-by-step explanation:
The temperature of the solar nebula was decreasing as it moved away from its center. Therefore, only heavy elements could condense in the inner solar system and terrestrial planets could not form with light elements, such as gases. In the outer solar system, the Jovian planets formed mostly with gases, since temperatures were too low to allow rocky compositions.