During the Explosion
The collapse of the core creates a shock wave that propagates outward and blows the outer layers of the star off.
Neutrons are created in the blast wave that results.
These neutrons combine with nuclei of the lighter elements, created, to produce elements heavier than iron.