Dunno bout momentum being transferred but yes, kinetic energy can be lost to a planet.
Planets rotate on their axis, and aside from that rotate around the sun. If you approach the planet from behind their rotational direction, you gain kinetic energy and speed up. As you leave the planets...