Answer: The troposphere contains about 75% of all of the air in the atmosphere, and almost all of the water vapour (which forms clouds and rain). The decrease in temperature with height is a result of the decreasing pressure. If a parcel of air moves upwards it expands (because of the lower pressure). When air expands it cools. So air higher up is cooler than air lower down.
Explanation: I looked it up.