Inside the magnet, the field lines move:
(1)
Magnetic field is a vector quantity with both direction and magnitude. The direction of the magnetic field is taken as the direction in which a North pole of the compass needle moves inside it. The field lines emerge from the North pole and merge at the South pole, but inside the magnet, the direction of field lines is opposite, i.e., from South to North