Stocks rise despite higher oil prices as Iran tensions persist