in massive stars, when core fusion ceases, gravity causes the core to collapse, producing neutrons and an outgoing shock wave