What‘s going on in magnetic atoms/molecules that‘s different from nonmagnetic materials?
The alignment of the molecules. In a material that retains magnetism, there is a greater number of molecules that align in the one direction, as against random alignments in non- magnetised material. See artical: www.electronics-tutorials.ws/elec. Cut and paste link if it doesn't present as a link.