If the sun's gravity causes earth to revolve around it, then what causes earth to rotate about its own axis?
What makes Earth to rotate on its axis?