Planetary formation is a complicated, multilayered process.
Moon formation is even less well understood than planetary formation at this point. Even the origins of our own Moon are still up for debate.
The moon formation process also plays a key part in planetary formation, with circumplanetary disks that can form moons also influencing the creation of the planet itself.
Watching that disk evolve will help scientists with their models of both moon and planetary formation. .