Explosive caldera eruptions are produced by a magma chamber whose magma is rich in silica. Silica-rich magma has a high viscosity, and therefore does not flow easily like basalt. The magma typically also contains a large amount of dissolved gases, up to 7 wt% for the most silica-rich magmas. When the magma approaches the surface of the Earth, the drop in confining pressure causes the trapped gases to rapidly bubble out of the magma, fragmenting the magma to produce a mixture of volcanic ash and other tephra with the very hot gases.