In the early universe, those planetary bodies must have been moving in different ways and colliding into one another, and the rate of collisions must have been very high.
Ultimately, the constant collisions led to eventual clearing off of bodies that did not move in circular motion, and that's what we see today. A natural selection of objects of the cosmos.
I might be misremembering Carl Sagan's description. But I'm almost certain I read this in Pale Blue Dot. I keep meaning to re-read that book.
JulianPGough•1h ago