The temperature decreases due to distance from the earth's surface.
Explanation:
The temperature decreases with increasing altitude in the troposphere because these air molecules are heated by the radiation and conduction of energy from Earth's surface and therefore air molecules closer to the surface have higher temperatures than molecules further from the surface.