Remember also that at depths we're talking about, not only is there high temperature but also high PRESSURE (from the weight of all those rocks above). The pressure is what keeps the water from turning into steam. It's like the old pressure cooker that your grandmother (at least, my grandmother) used to have. By having a covered and sealed pot, the water can't turn to steam and escape, so whatever is cooking inside cooks much faster.