Astronomers using JWST have captured the clearest view yet of a doomed red supergiant star just before it exploded, solving a decades-old mystery about why such stars rarely appear to go supernova.