the inner planets of the solar system are rocky whereas the outer planets contain a higher proportion of ice and gas. this differentiation occurred in the early solar system because: