Its the impact theory.
It suggests that the moon resulted from the collision of two protoplanets, or embryonic worlds. One of those was the just-forming Earth, and the other was a Mars-size object called Theia. The moon then coalesced from the debris, thus giving it its irregular shape.