The north and south poles of the magnet pass each of the three windings in turn, inducing voltage in each coil as they pass.