Gas prices have surged past $4 a gallon as the Iran conflict pushes oil higher, raising fresh concerns about inflation.