Oil prices climbed more than 5% and Wall Street veered toward losses before the open as a standoff between Iran and the U.S.