Formation of solid iron core 550m years ago restored magnetic field and protected surface