A liquid propellant engine pumps liquid fuel and liquid propellant into the combustion chamber. The hot gases are ejected through a narrow throat. Ejecting more mass per second at higher speeds increases thrust.
Diagram based on an original by NASA.