# Ising model for ferromagnetism is not intuitive

In the Ising model for ferromagnetism a lower energy is assumed when two spin magnetic dipoles are aligned parallel to each other and the energy is higher when they are antiparallel.

If I take two simple bar magnets I see precisely the opposite behavior: if I force their axes to be parallel they prefer to be in the antiparallel configuration (so that the N of one magnet is near to the S of the other).

What happens in ferromagnets that makes the dipole to prefer to be parallel to one another?