Respuesta :

The only effect that it has is when the magma is cooling (so if it's on the surface, it's now lava), any magnetic elements will align their dipoles with the north and south poles of the magnetic field. 

Hope this helps!