hard science ALERT!
https://en.wikipedia.org/wiki/Geomagnetic_reversal
It ain’t just the moon!
https://www.scientificamerican.com/article/the-three-body-problem/