U.S. stock markets experienced a rise as investors navigated geopolitical tensions in the Middle East and processed a key legal development for tech giant Alphabet.

The broader market sentiment appeared to favor equities despite ongoing concerns stemming from the Middle East, suggesting a degree of investor resilience or a focus on other economic factors. Specific details on the drivers of the market's upward movement, beyond the general reduction of immediate geopolitical fears, were not elaborated upon in the provided notes.

In a separate but significant event, Alphabet, the parent company of Google, secured a legal victory in a court ruling. The specifics of this legal battle and its potential implications for Alphabet and the broader technology sector were not detailed, but the outcome was noted as a positive development for the company.

Meanwhile, within the energy sector, oil refiners have shown resistance to expanding their operations. This reluctance could signal a variety of underlying market dynamics, including concerns about future demand, regulatory environments, or profitability in an evolving energy landscape. The notes did not specify the reasons behind this resistance.

The confluence of these events—geopolitical anxieties, a major corporate legal win, and sector-specific operational hesitations—painted a complex picture for market participants, yet the overall trading day closed with stocks on an upward trajectory.