Every barrel of crude oil that reaches a refinery has first had to fight its way out of an intimate embrace with water.