-
Neutron stars can form when a giant star goes supernova. During a supernova, the star’s core collapses, and the remaining protons and electrons get squeezed together so tightly that their nuclei touch.
-
When a star burns through most of its nuclear material, it can explode in a bright supernove and leave behind a dense core. If that core is massive enough, it'll become a neutron star.