Interactions with the more distant star cause the planet's orbit to undergo an exchange of eccentricity and inclination due to the Kozai mechanism. This process can increase the planet's eccentricity and lower its perihelion enough to create strong tides between the planet on the star increases. When it is near the star the planet loses angular momentum causing its orbit to shrink. The planet's eccentricity and inclination cycle repeatedly, slowing the evolution of the planets semi-major axis. If the planet's orbit shrinks enough to remove it from the influence of the distant star the Kozai cycles end. Its orbit will then shrink more rapidly as it is tidally circularized. The orbit of the planet can also become retrograde due to this process. Kozai cycles can also occur in a system with two planets that have differing inclinations due to gravitational scattering between planets and can result in planets with retrograde orbits. Planetesimal-driven migration The orbit of a planet can change due to gravitational encounters with a large number of planetesimals. Planetesimal-driven migration is the result of the accumulation of the transfers of angular momentum during encounters between the planetesimals and a planet. For individual encounters the amount of angular momentum exchanged and the direction of the change in the planet's orbit depends on the geometry of the encounter. For a large number of encounters the direction of the planet's migration depends on the average angular momentum of the planetesimals relative to the planet. If it is higher, for example a disk outside the planet's orbit, the planet migrates outward, if it is lower the planet migrates inward. The migration of a planet beginning with a similar angular momentum as the disk depends on potential sinks and sources of the planetesimals. For a single planet system, planetesimals can only be lost (a sink) due to their ejection, which would cause the planet to migrate inward. In multiple planet systems the other planets can act as sinks or sources. Planetesimals can be removed from the planet's influence after encountering an adjacent planet or transferred to that planet's influence. These interactions cause the planet's orbits to diverge as the outer planet tends to remove planetesimals with larger momentum from the inner planet influence or add planetesimals with lower angular momentum, and vice versa. The planet's resonances, where the eccentricities of planetesimals are pumped up until they intersect with the planet, also act as