The difference in the shape of the light curves is believed to be caused, in the case of Type II-L supernovae, by the expulsion of most of the hydrogen envelope of the progenitor star. The plateau phase in Type II-P supernovae is due to a change in the opacity of the exterior layer. The shock wave ionizes the hydrogen in the outer envelope – stripping the electron from the hydrogen atom – resulting in a significant increase in the opacity. This prevents photons from the inner parts of the explosion from escaping. When the hydrogen cools sufficiently to recombine, the outer layer becomes transparent.