text: “what makes the earth rotate?   the monty pithon had a song "money makes the world go round"   but since the question is in the astronomy category, perhaps you are after the serious answer.  momentum.  the earth condensed from particles at the beginning of the solar system, and all those small rocks were in orbit around the sun, thus had momentum in them.  by falling into one another, they gave that momentum to the accumulating mass, which started spinning.  actually, all planets rotate, it is the norm rather than the exception.  being in space, without anything substantial to slow it down, save from the moon and sun tidal effect, the earth keeps spinning since then.