Iron is magnetic so the liquid iron causes Earth to have a magnetic field. The needle of a compass is a small magnet that can turn. It turns around until its own magnetic field lines up with the ...