why do places at the same latitude but different altitudes have different climate?