Based on enormous evidence, scientists and astronomers strongly suggest the moon formed some 4.5 billion years ago from a collision between the preformed Earth (Proto-Earth) and another big astronomical object or planet. But the question is, how the moon had erupted from that collision?
Well, there are two possible ways. One, the moon mostly formed from the predator object. Two, the moon was baked from a synestia. A synestia is a conceptual form of a rapidly spinning donut-shaped mass of vaporized rock.
The given illustration can visualize the aftermath processes.
Source: July 2019, Scientific American (Origin Story)