Energy from a nuclear explosion is initially released in several forms of penetrating radiation. When there is surrounding material such as air, rock, or water, this radiation interacts with and rapidly heats the material to an equilibrium temperature (i.e. so that the matter is at the same temperature as the fuel powering the explosion). This causes vaporization of the surrounding material, resulting in its rapid expansion. Kinetic energy created by this expansion contributes to the formation of a shock wave which expands spherically from the center. Intense thermal radiation at the hypocenter forms a nuclear fireball which, if the explosion is low enough in altitude, is often associated with a mushroom cloud. In a high-altitude burst where the density of the atmosphere is low, more energy is released as ionizing gamma radiation and X-rays than as an atmosphere-displacing shockwave.