Oil prices extended their gains on Tuesday as efforts to end the U.S.-Iran war appear stalled, with the crucial Strait of Hormuz waterway still mainly shut, keeping energy supplies from the key Middle East producing region out of the reach of global buyers.