The New York Yankees' offense experienced a significant downturn on Thursday, reverting to earlier-season struggles in a 5-1 loss to the Houston Astros. The defeat, which saw the Yankees go 0-for-9 with runners in scoring position, occurred just before a critical three-game series against the Boston Red Sox.

The Yankees, now trailing the Tampa Bay Rays by four games in the American League East, hold a slim two-game lead over the Red Sox for the top AL wild-card spot. This upcoming series in The Bronx could significantly impact home-field advantage for a wild-card playoff game.

Manager Aaron Boone acknowledged the Red Sox as "one of the best teams in the game right now." Boston has been on a strong run in the second half of the season, while the Yankees' offensive consistency has been a concern, particularly in the absence of star outfielder Aaron Judge.

Before Thursday's game, the Yankees had shown signs of an emerging balanced, powerful, and patient offensive attack, scoring 24 runs on 34 hits in a recent three-game surge. However, this momentum stalled against Astros pitcher Hayden Wesneski and three Houston relievers, who limited the Yankees to just five hits.

Gerrit Cole started for the Yankees and pitched what was described as a solid effort, despite allowing three runs over six innings. The Astros broke the scoreless tie in the sixth inning when Christian Walker hit a two-run home run. The Yankees managed to score their only run in the bottom of that inning, but the offense could not sustain the rally.

Errors also plagued the Yankees. Prospect George Lombard Jr. committed his sixth consecutive error in the eighth inning on a ground ball that bounced out of his glove, allowing an unearned run to score and further widening the deficit.

Key offensive opportunities were missed throughout the game. In the third inning, Jazz Chisholm Jr. reached base and stole second but was stranded. Later, in the fifth, Chisholm walked and stole second with no outs, but subsequent batters failed to drive him in. The fourth inning also saw two runners reach base with one out, only for the inning to end with two strikeouts.

Despite the frustrating loss, the Yankees have performed well recently, winning or splitting 10 of their past 14 completed series. The team has shown improvement compared to earlier in the season, but Thursday's performance raised questions about their ability to consistently deliver offensively, especially heading into a crucial series against their rivals.