WSJ’s Imani Moise reviews weekly market moves, noting that while tech giants pushed the S&P and Nasdaq to record highs, broader equity gains were limited by a bond sell-off and rising Treasury yields. The energy sector led gains as geopolitical conflicts widened the crack spread, boosting refiners like Valero and Marathon. Conversely, Caterpillar and chip stocks fell following an FTC investigation into equipment practices and reports of lower OpenAI revenue. Additionally, homebuilder shares declined as 30-year mortgage rates hit a three-year high, pressuring housing demand.