DETROIT >> Javier Báez hit two of the Detroit Tigers’ four home runs in a 7-3 victory over the Pittsburgh Pirates on Tuesday night.

Báez hit solo homers in the fifth and seventh innings on the day he reached 10 years of major league service. Wenceel Pérez and Riley Greene also homered for Detroit.

Casey Mize (7-2) got the win, allowing three runs — two earned — on five hits in six innings. He struck out four without walking a batter.

Pittsburgh took a 1-0 lead in the second when Spencer Horwitz singled and scored on Adam Frazier’s groundout, but the Tigers scored twice in the bottom of the inning on Pérez’s homer.

Alexander Canario’s two-run single put the Pirates back in front 3-2 in the third, but Báez tied the game with a homer in the fifth. Canario replaced Bryan Reynolds in right field in the second inning after his wife went into labor.

Pérez gave the Tigers a 4-3 lead with an RBI triple in the sixth and Báez made it a two-run game with a leadoff homer in the seventh. Greene hit a 436-foot home run to right later in the inning, making it 7-3.

Carmen Mlodzinski (1-5) allowed four runs in two innings of relief.

MARLINS 8, PHILLIEs 3 >> Eric Wagaman and Jesús Sánchez homered as the Miami Marlins snapped a five-game home skid with an 8-3 win over the Phillies on Tuesday night, ending Philadelphia’s five-game win streak.

Xavier Edwards had three hits and Javier Sanoja tripled and singled for the Marlins.

Nick Castellanos was benched by Phillies manager Rob Thomson on Tuesday for “an inappropriate comment” the outfielder made after he was pulled for a defensive replacement in the series opener Monday. The benching ended Castellanos’ streak of 236 consecutive starts.

Edwards’ RBI single capped a three-run sixth that put Miami ahead 5-3. Phillies reliever Tanner Banks inherited two base runners from starter Jesús Luzardo and allowed an RBI groundout by Kyle Stowers and Sanoja’s run-scoring triple.

Sánchez connected off reliever Joe Ross with a solo blast in the seventh inning, his seventh homer of the season.

Freddy Tarnok (1-0) pitched the top of the sixth and earned the win.

Luzardo (6-3) gave up four runs and six hits in five-plus innings. The former Marlins left-hander struck out four and walked four.

Run scoring singles by Johan Rojas and Kyle Schwarber in the fifth gave the Phillies a 3-2 lead.

Wagaman put Miami on the board with his two-run blast in the second.

Quantrill retired the first nine before Trea Turner homered for the second straight game, connecting for a drive over the wall in left to lead off the fourth. The right-hander gave up three runs and four hits in four-plus innings.

Tuesday’s start was moved up 30 minutes to reduce the viewing conflict with Game 6 of the Stanley Cup Final between the Florida Panthers and Edmonton Oilers.

Rockies 10, Nationals 6

WASHINGTON >> The Rockies hit a franchise record-tying seven home runs, including two from Michael Toglia, and Antonio Senzatela won his second game of the season, as Colorado held off the Washington Nationals 10-6 on Tuesday night.

Colorado hit seven homers in a game for the third time in franchise history, matching April 1997 at Montreal and against Cincinnati in May 2016. The Rockies have won three in a row for the second time this season.

It was the second multihomer game of Toglia’s career. He hit three homers on July 14 last season against the Mets.

Four of the homers came in the six-run seventh, highlighted by a three-run shot from Hunter Goodman and a solo shot by Ryan McMahon off Nationals reliever Cole Henry.

The Rockies last hit four or more homers in one inning on June 20, 2021 against Milwaukee.

Thairo Estrada, Sam Hilliard and Mickey Moniak also homered for the Rockies.

Senzatela (2-10) allowed one unearned run on three hits and three walks in five innings. The right-hander also defeated the Nationals on April 20.

Washington’s Michael Soroka (3-5) pitched six innings, striking out a season-high nine batters, but allowed five hits and three runs.

ANGELS 4, YANKEES 0 >> Kyle Hendricks and three relievers combined on a four-hitter as the Los Angeles Angels beat the slumping New York Yankees 4-0 on Tuesday night to hand them their third straight shutout.

New York manager Aaron Boone tinkered with his lineup — batting rookie Jasson Domínguez first and dropping Paul Goldschmidt to sixth — but it didn’t yield results for the Yankees, who were 0 for 10 with runners on and got just three to second base.

Aaron Judge went 0 for 4 with three strikeouts and heard boos following whiffs in the sixth and eighth. He is 2 for 19 with 12 strikeouts in his last five games.

The Yankees, who haven’t scored in 29 innings since the ninth inning of a 4-3 loss at Boston on Saturday, were last blanked in three consecutive games from Sept. 22-24, 2016. They have never been shut out in four straight games.