That's true.
Newton's law of universal gravitation says that the gravitational
force between two objects is
F = G · M₁ · M₂ / D² .
There's no note under the equation that says "only up to
this certain distance, and zero any farther than that".
The equation is true no matter how gigantic the distance
is between the objects.
Kinetic energy is half the product of the mass and the square velocity and at highest point the velocity is 0 thus the kinetic energy is 0 J
Combination or composition, in particular.