The shape of an orbit is determined only by the centripetal forces at each point of the orbit, which are the forces acting perpendicular to the orbit. By contrast, forces along the orbit change only the speed, but not the direction, of the velocity.