Wall Street's major indexes closed lower on Thursday as investors weighed escalating geopolitical tensions in the Middle East and rising oil prices following military confrontations between the U.S.