Planetary formation does not occur in isolation; the newly formed planets can interact gravitationally with the protoplanetary disk and other planets, leading to a process called migration. This can cause planets to move from their original positions, influencing the architecture of the resulting planetary system.