Magma

Earthquakes, volcanism, and hydrothermal features go hand in hand at Yellowstone. The underground plumbing of hot water and magmas beneath Yellowstone is influenced by the same stresses that cause earthquakes.
Refer to the Illustration. Heat and volcanic gases from slowly cooling magma rise and warm the dense salty water that occupies fractured rocks above the Yellowstone magma chamber.