Gravitational capture

Capture events explain how satellites can end up with retrograde orbits or rotation.

Planetary capture has been proposed one mechanism that could explain the unusual orbit of the hypothesized Planet Nine in the Earth's solar system.

Planetary capture (possibly planet swapping with neighboring stars) has been proposed as one explanation for why[3] an unusually high fraction of hot Jupiter exoplanets orbits are misaligned with their stars and a few even in the retrograde direction.

[4] The opposite process, ejection from orbit, can occur through orbital instability or one or more encounters with another passing object (perturbations), eventually putting the object on a hyperbolic trajectory.

Severe stellar mass loss could also cause planets to escape orbit and go rogue.