Flexi Says: About 4.5 billion years ago, a nearby star exploded and sent a shock wave through the dust cloud, increasing its rate of spin. As a result, most of the mass became concentrated in the middle, forming the Sun. Smaller concentrations of mass rotating around the center formed the planets of our solar system, including Earth.