Hi.
As I understand gravity is a curvature of space-time. So as I throw an apple into the air I am giving it kinetic energy to travel "up" this curvature. This then is made into potential energy as the apple decelerates.
Now let's imagine 2 objects in deep space, far from anything else...