temperature increases, thrust
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.