Micah, I'm afraid you're wrong about the gravity thing. We have several working theories, but magnetism isn't one of them.
Magnetism might not be the word I'm looking for, this was the theory as they explained it to us at he Smithsonian Aerospace Museum program we attended. Basically what they were explaining was that atoms are attracted to eachother and the more atoms you combine together, the stronger the pull towards another group of atoms.
Of course that was 10 years ago, maybe the theories have changed since then? Lol