Jet engines can accelerate a spacecraft in empty space by utilizing the principle of conservation of momentum. When a rocket engine ejects mass, it generates thrust in the opposite direction, allowing the spacecraft to change speed and direction. This is similar to throwing an object backward, which propels the thrower forward. Unlike jet engines that rely on incoming air, rocket engines operate in a vacuum by carrying their own propellant. Thus, a spacecraft can control its motion in space through the ejection of exhaust gases, demonstrating that acceleration is achievable without external forces.