From top to bottom:
The moon was formed from the collision between Earth and another Mars-sized body.
The moon was formed from collisions and the combining of planetesimals
The moon was locked into orbit by Earth’s gravity as it was passing by it.
The moon was formed from the same cloud of material as Earth.