The correct answer for the question is: "C. Random Capture Theory"
Capture theory illustrated in which the planets and moons were wandering in the space and then the individual masses, the planets exactly, came closer at the Sun and were captured by its gravitational force and then they began rotating at the same direction, while the moons were captured by the planets.