Let's say somehow, a yellow dwarf like our sun was sent hurtling through space, and smacked into a red giant with enough force to cause the two to go supernova.
With the release of large amounts of metals and gases, large amounts of hydrogen started grouping together and forming a core, this core attracts large amounts of materials from its surroundings including the metals.
Is it possible that if enough of the solid elements(like iron, nickel, etc.) exist and the hydrogen core is massive enough to attract them with gravity, they could provide enough mass to force the hydrogen core to undergo a phase change? Or due to the different densities, the positions would simply reverse themselves as hydrogen is shunted out of the core?