How has water changed earth's history?