Answer:
As far as our understanding of planetary formation goes, rocky planets tended to form closer to the Sun because the materials they're made of -- silicates and heavier gases -- 'fall' inwards towards the Sun.
Step-by-step explanation:
Hope this answer helps you :)