 You mentioned Theia. That's the theoretical name of the Mars-sized planet that's supposed to have impacted the Earth. That's one of the theories. Some of the crust and created the moon, among other things. There's evidence for that, but it's not the only theory out there. Well, I'm sure that if we just go to Wikipedia, you'll probably get a dozen theories.