Moving higher in altitude results in:

thinner air and, thus, cooler temperatures

denser air and, thus, cooler temperatures

thinner air and, thus, warmer temperatures

denser air and, thus, warmer temperatures