As the aircraft banks to turn the needle is deflected by the vertical component of the Earth’s magnetic field.