He said prices could go higher in a rare acknowledgement of the political fallout from his decision to attack Iran.