The magnetic field lines are being contorted and twisted, and when they collapse, they release tremendous amounts of energy all at once in just a couple of minutes, and they go out from the Sun like a blast wave.