Why is there a magnetic field in the current?
When an electrical charge moves, a magnetic field is created, as Ampere predicted. As with electrical current running via a wire, the spinning and orbiting of an atom's nucleus produce a magnetic field. The magnetic field is determined by the direction of the spin and orbit.