Oil prices gained on Tuesday as the ​resumption of fighting between the U.S. and Iran in the Middle East renewed fears of ‌supply disruptions from the world's key crude-producing region.