Lack of mass may also have had something to do with it.
I wouldn’t discount that. There is also the accepted theory that early in its life Earth was struck by an asteroid/planetoid with a high iron composition. This added to the mass & density of the planet while creating a disk of lighter debris that eventually condensed into our Moon.