What do you mean the velocity changes but the speed remains constant?
Assuming these are all relative to the sun, a space probe's velocity increases from the transfer of kinetic energy and momentum from the planet, its direction also changes as it's 'curving' around the planet. Velocity is just...