This drawing represents the expansion of gases leaving a supernova in the form of a shock wave.
Click on image for full size
When the wave from the supernova reaches our nebula, it squeezes the cloud of gas and dust. Squeezing makes the cloud start to collapse. Gravity pulls
the gas and dust together into a tighter ball.