Why is air warmer at the top of the stratosphere than at the top of the troposphere?

Thank you!!!