This is the same for satellites and solar systems. Why do they just orbit in one direction. Also, why do they rotate on their axes in a certain direction?
The solar system condensed from a swirling cloud of gas and dust, so the planets orbit in the direction the cloud was swirling. Same with the formation of planets and moons — as gravity pulls in material, the material starts swirling and a spinning planet or moon is formed.
Latest Answers