I mean moons orbit around planets thanks to a gravitational pull, and if they get to far away (like magnets) they aren't under the pull anymore, and they end up being in someone elses gravity
IF GRAVITY EXISTS BECAUSE OF EARTH'S MAGNETIC CORE, THEN WOULDN'T THAT MAKE EVERYTHING AND EVERYONE A MAGNET? AND IF THATS TRUE, THEN ARE THERE OBJECTS THAT HAVE THE SAME CHARGE AS EARTH'S FIELD, WHICH MAKING THE OBJECT PUSH AWAY FROM THE EARTH?