The iron atoms in the nucleus of a protoplanet had microscopic magnetic domains (a known property of iron). Given the low temperature of the Vortex gases and protoplanets, these domains would line up in a single direction to make a big magnetic field (known physics for iron with a temperature less than the Curie temperature). Then, when the protoplanet starts to spin, the magnetic domains move. This causes the magnetic field to vary in such a way that it produces an electric field. [A changing magnetic field produces a changing electric field and a changing electric field produces a magnetic field according to known physics: Maxwell’s Equations]. The electric field is experienced by the non-metal atoms around the magnetic material in the central area.
Craters at the north and south pole of a planet provide evidence of how the layers of a planet form in the presence of an electric field. (Pictures are offered in the book, The Birth of the Earth, of craters on Mercury, Mars, and Neptune.)
The new electric field causes atoms to line up in a way that overcomes the forces keeping them apart. They bond to form molecules. This rapidly reduces the space between atoms by 10^9. This rapid formation of molecules and minerals in combination with gravity results in rapid compacting of material around the iron atoms. This causes the iron atoms to compact around the center also. A lot of heat is generated in this process.
The layered Earth as we know it reflects the results that we would expect from this process.
Did you know that granite has a higher melting point than the rock in the mantle below? But according to the current standard theory (Sun First Theory), granite is supposed to result from the cooling off period after the whole protoplanet was a hot melted sphere from collisions of rocky objects.