Why is the air colder farther from the earth,you ask ?its easy
Explanation:
A pretty basic answer is that the farther away you get from the earth, the thinner and thinner the atmosphere gets. The total heat content of a system is directly related to the amount of matter present, so it gets cooler and cooler at higher elevations.