Such an event could happen at any time in the history of a volcano when the magma chamber or conduit is sealed (i.e. the vent is closed or blocked off) as long as a volatile-rich magma is being supplied to the chamber or conduit.