But a refrigerator magnet can't flux hundreds of thousands of miles into space. And if a magnetic field so huge distorts so much before and during an earthquake, then there is more to an earthquake than just two rocks rubbing together.
It is exactly two rocks rubbing together, releasing an enormous amount of piezoelectric energy, on top of a huge amount of mechanical energy. The great Alaska earthquake of 1964 was estimated to have been equivalent to 242 megatons of TNT.
10 minutes before the 2008 Sichuan earthquake in China, there were pictures of clouds in the area that abruptly took on rainbow hues from the piezoelectric energy being released prior to the release of most of the mechanical energy.
This amount of electricity would strongly distort magnetic fields over a large area.