The moon rotates on the axis and revolves around the Earth in the same period due to the phenomenon called