The rotation direction of planets and the revolution direction of moons can vary, and they are not universally the same for all celestial bodies. In astronomy, the convention for determining the rotation direction of a planet is based on its north pole. If the planet rotates counterclockwise when viewed from above the north pole, it is said to have a "prograde" rotation. If it rotates clockwise, it is said to have a "retrograde" rotation.
Similarly, the revolution direction of moons around their parent planet can also vary. Moons can orbit in either a prograde (counterclockwise) or retrograde (clockwise) direction, depending on various factors such as their formation and gravitational interactions.
The reason why most planets in our solar system have a counterclockwise rotation is not entirely understood. It is believed to be a result of the way the solar system formed from a rotating disk of gas and dust known as the protoplanetary disk. As the material in the disk gradually accreted to form planets, the conservation of angular momentum led to the rotation of the planets in the same direction as the original disk.
Regarding the direction of moon revolution, it is influenced by the same factors that determine the rotation of planets. Moons generally form from the debris left over after the formation of their parent planet, and they inherit the direction of the protoplanetary disk's rotation. However, there are exceptions, and some moons have retrograde orbits due to subsequent gravitational interactions or capture events.
It's worth noting that while there are patterns in the rotation and revolution directions of celestial bodies in our solar system, these patterns are not universal throughout the entire universe. In other star systems, different factors may contribute to different rotation and revolution directions. Each planetary system forms under unique conditions, leading to a diverse array of configurations and orbital dynamics.