> Everything you gain from gravity you have to give back on the way out.
This is true only in the center-of-mass frame, and that's true for all conservative forces.
If I have a bowling ball covered in springs and I throw it at a marble at speed v, the marble will traveling at a speed 2v after the collision. It would be completely correct and not misleading to say "the springs on the bowling ball accelerated the marble to 2v" even though the marble's speed in the center-of-mass frame is the same before and after the collision.
It's also true that the energy gained by the marble comes from the bowling ball in the rest frame. That doesn't make the first statement wrong or misleading. It just means that you like thinking about things in the center-of-mass frame.