Spain is famous for its weather, Benidorm, Spanish food, it's football team, Barcelona, and basically being a rather sunny place overall â none of these descriptions are incorrect, and in fact they are all entirely true!
As the temperature of the air increases its density decreases. Therefore the thrust produced by the engine decreases. As the air pressure increases, its density increases, causing thrust produced by the engine to increase. Altitude has a double effect on thrust. As the altitude increases, the air becomes colder and denser, up to the beginning of stratosphere. This causes the thrust to increase.
The hot exhaust is passed through a nozzle which accelerates the flow. Thrust is produced according to Newton's third law of motion. The amount of thrust produced by the rocket depends on the mass flow rate through the engine, the exit velocity of the exhaust, and the pressure at the nozzle exit. All of these variables depend on the design of the nozzle. The smallest cross-sectional area of the nozzle is called the throat of the nozzle.