Edit: My question is different because I am not asking how permanent magnets come about. Rather, I am asking why (taking permanent magnets as a given) they attract or repel each other. I.e. What equation describes the force that causes a permanent magnet to stick to my fridge.
I have been searching online for some qualitative explanation of why permanent magnets attract each other (for example fridge magnets) and can't find anything. The closest I can find is attraction/repulsion of two parallel current carrying wires.
Here's using the same steps to two permanent magnets situated on top of one another:
Lorentz force law says force is proportional to $\vec{v} \times \vec{B}$. Each magnet is composed of many atoms all oriented the same way. All together the electrons orbiting the individual nuclei sum to create a stronger magnetic field (let's say pointing up to the other magnet).
This other magnet is also composed of individual, similarly oriented atoms. Since I know it will attract when the "south" pole of the top magnet is above the "north" pole of the bottom magnet, let's try that situation.
Trying to apply the Lorentz force law, $v$ is going around in a circle on the top magnet. $B$ is coming straight up (from the first magnet). This seems to imply that the force would be perpendicular to the $B$ field, but spinning around in time (as the electron spins around the nucleus).
Where does the force that attracts the two permanent magnets towards one another come from?