Scientists have solved a 30-year-old challenge that proposed water can change its phase into other forms of liquid.