The Earth spins because it was set in motion a long time ago, and nothing has stopped it yet. Just like when you spin around and keep going even after you stop pushing, the Earth keeps spinning because of how it started. It's like a cosmic top that never stops turning.