Space is a rocky place. The biggest space rocks are asteroids. As they bang around out there in space, these rocks break into smaller and smaller pieces that sometimes fall to Earth.
Most of them burn up in streaks of light. Some crash into our planet and leave behind meteorites. Every once and a while, a really big one makes a giant crater.