U.S. inflation cooled in June, weakening Federal Reserve rate hike expectations, while Microsoft’s earnings demonstrated that AI is poised to generate sustainable revenue, reversing previous sluggish market sentiment. The three major U.S. stock indices rose across the board, with memory stocks leading the gains and software stocks pulling back.