name one thing that causes domains of a magnets atoms to lose alignment