T^2 =
4pi^2r^3/GM
In a circular orbit, a satellite’s speed and distance above the mass it is orbiting is constant so…
The kinetic and potential energy are both constant
In an elliptical orbit, a satellite will speed up as the height decreases and slows down as the height increases…
The kinetic energy increases as the potential energy decreases (and vice versa) so the total energy remains constant.