These magnets are attracted to each other, I wonder why?

These magnets are attracted to each other, I wonder why?