when a volcano erupts it releases many different materials into the atmosphere .