The cost of filling up is rising ahead of the summer driving season, as peak demand and geopolitical issues converge.