Dynamical liquid-gas phase transition