This difference in the two forces moves the magnet in the direction of increasing magnetic field and may also cause a net torque.
Increasing the distance between the two magnets will cause a decrease in the force of attraction between two magnets.