BOSTON (AP) Baltimore wasted four homers, including two more by Anthony Santander, in a 13-9 loss to Triston Casas and the Boston Red Sox on Tuesday night, hurting the Orioles' chances of earning an AL wild card.

Adley Rutschman and Ramon Urias also went deep, but Baltimore (80-74) lost for the third time in four games. The Orioles remained 3 1/2 back of Seattle for the third AL wild card after the Mariners lost 5-0 to the Rangers.

''It's about continuing to make adjustments on both sides of the ball,'' Santander said through a translator. ''We know that time is running out, but there's still time to do what we need to do.''

Casas hit a two-run homer for Boston, which had dropped six in a row. Tommy Pham had three RBIs, and Rafael Devers hit a two-run single.

The Red Sox scored six runs in the third and five more in the fourth, taking advantage of a series of blunders by the Orioles.

Two Boston runs scored on bases-loaded walks by Connor Wong and Xander Bogaerts, and another came home when Rob Refsnyder was hit by a pitch with the bases jammed. Second baseman Rougned Odor committed two errors in the fourth, right after the Orioles scored five runs in the top half to tie it at 8.

The Orioles' first six hits were all for extra bases. Rutschman and Santander hit back-to-back homers in the third, and Santander connected for a two-run shot in the fourth.

Santander went deep from both sides of the plate for the second straight night after he hit two of Baltimore's five homers in Monday's 14-8 victory at Fenway Park. The slugger has six homers in his last four games and a career-best 33 on the season.

''The personal stuff is great. I'm happy that I was able to come through and come up with those big hits to get the team in front,'' Santander said. ''Unfortunately, we couldn't get the result we wanted tonight, but tomorrow's a new day. We're going to come back and work hard and try and compete and get a win tomorrow.''

Matt Strahm (4-4) got the win after taking over for Michael Wacha with one out in the fourth. Joey Krehbiel (5-5), one of seven pitchers used by the Orioles, took the loss.

BOTH SIDES NOW

Santander has homered from both sides of the plate four times this season, tying Ken Caminiti's big league record set with San Diego in 1996.

Santander doubled high off the wall in center in the first, coming just a few feet short of another homer.

TOUGH STARTS

It was an early night for both starters.

Baltimore's Kyle Bradish lasted just 2 1/3 innings, allowing seven runs and four hits. He walked four and struck out three.

''He just didn't have the command he's had in the second half,'' Orioles manager Brandon Hyde said. ''A lot of deep counts, a lot of foul balls and a lot of misses, up, and a lot of borderline pitches didn't go his way, but he didn't have the normal command he's had his last couple of starts.''

Michael Wacha pitched 3 1/3 innings for Boston, yielding six runs and eight hits.

TRAINER'S ROOM

Orioles: Urias was back in the lineup after missing the previous two games with neck and shoulder spasms. Urias tripled in the second, led off the third with a homer and singled in the fifth before leaving in the seventh with discomfort in his right knee.

Red Sox: 1B Eric Hosmer (lower back inflammation) is scheduled to take batting practice before Wednesday's game and could return to the lineup in the next few days.

UP NEXT

Orioles RHP Dean Kremer (8-5, 3.07 ERA) faces Red Sox LHP Rich Hill (7-7, 4.65 ERA) on Wednesday night in the third of four games in the series.

---

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports

Copyright 2022 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.