Consumers in 49 of the 50 states woke up to higher prices at the gas pump on Tuesday as attacks in the Middle East spur fears of supply disruptions.