Planets can move to new orbits due to gravitational interactions with other planets or massive bodies.