Nature’s most magnetic objects, ripped apart in starquakes, can unleash powerful flashes of light