Two-stage formation of the Moon from accreting fragmentation and resonance captures | Synapse