Investors navigated everything from escalating tensions in the Middle East to key tech earnings reports to healthcare developments.