Explanation:
The asteroid belt is similar to the inner planets, since it consists mainly of rock and metal. Therefore, they come from the protosolar nebula. The planets in formation attracted the asteroids that were under their gravitational influence, except Mars and Jupiter.