Oil extended gains while stock markets witnessed a downturn on Tuesday as investors braced for heightened volatility amid stalled talks on ending the US-Israel-Iran conflict and reopening the Strait of Hormuz.