President Donald Trump has largely brushed off concerns about rising gas prices, saying it is necessary for the war in Iran.