Original: The air continues to heat because it is confined within the greenhouse, unlike the environment outside the greenhouse where warm air near the surface rises and mixes with cooler air aloft.
Simplified: When there is more greenhouse gas in the air, the air holds more heat.