The S&P 500 fell on Friday while oil prices continued to climb, as investors awaited further developments in the Iran war.