The pattern of temperature increase with height in the stratosphere is the result of solar heating as ultraviolet radiation in the wavelength range of 0.200 to 0.242 micrometre dissociates diatomic oxygen (O2). The resultant attachment of single oxygen atoms to O2 produces ozone (O3).
hope this helps!