ST. PETERSBURG, Fla. -- The Boston Red Sox had a lot of hits again. However, they couldn't put them together to get a lot of scorng.
Boston finished with 13 hits, reaching double digits for the fourth time in five games.
"We got all those hits, but they were spread around," Boston manager Alex Cora said. "So it was a good night for them and a bad night for us."
Perez had a two-run double in the second and a two-run single in Tampa Bay's five-run third. His four RBI matched his total in his first 20 games.
The Rays had six consecutive singles in the third against Hector Velazquez.
"That's how you win games -- two outs and you start hitting base hits," said Carlos Gomez, who had an RBI single in the big inning. "Right now we're really hot, pitching and hitting."
Velazquez (7-2) gave up eight runs and nine hits in 2 2/3 innings to raise his earned run average from 2.74 to 3.69.
"I was a bit unfortunate today," he said. "They hit some ground balls that got through that usually don't."
Xander Bogaerts had three hits for the Red Sox, including an RBI single in the third that gave him 15 RBI against Tampa Bay this season. The Boston shortstop is hitting .421 in his last 15 games.
J.D. Martinez drove in his major league-leading 110th run of the season with a single in the fifth for the Red Sox, who went into the game with a 9 1/2-game lead in the AL East before losing for the fourth time in six games.
Rookie Jalen Beeks, Boston's minor league pitcher of the year last season before his trade to Tampa Bay for Nathan Eovaldi on July 25, won for the second time six days against his former team. Beeks (3-1) gave up three runs and seven hits in 5 1/3 innings in relief of starter Diego Castillo.
"We got some hits off him but we didn't score. That doesn't usually happen with us," said Andrew Benintendi, who had one of the hits.
"We hit (Beeks) hard today. There were like six at bats that we hit blazers everywhere," said Cora. "He spotted his fastball. That's what we know about the kid. But to get Nathan Eovaldi, you've got to give up good players. ... He made some pitches when he had to, but we hit him hard today."
SMITH IN HOSPITAL
Rays OF Mallex Smith has been hospitalized for what is expected to be a short stay for treatment of a viral infection and is being placed on the 10-day disabled list. He received IV fluids and antibiotics. Smith, hitting .385 (25 for 65) in 16 games since being moved to the leadoff spot on Aug. 5, woke up feeling ill around 3 a.m. Friday
Red Sox: LHP Chris Sale (shoulder inflamation) might resume throwing as soon as this weekend. ... RHP Steven Wright, out two months due to left knee inflamation, threw live batting practice Friday. "He'll probably go on a rehab assignment next week and he'll be with us hopefully in September," said manager Alex Cora. ... 1B Mitch Moreland was "banged up a little bit" and out of the lineup. ... OF-DH Martinez played right field and will again Saturday before getting two days off (including Monday's open date).
Rays: OF Tommy Pham, who left Tuesday's game with a dislocated right ring finger, was available off the bench.
RHP Rick Porcello (8-4, 2.72 ERA in 14 career starts at Tropicana Field) will go for his 16th win Saturday night against Rays LHP Ryan Yarbrough, who leads all rookies with 12 wins. Yarbrough will be making only his sixth start.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
MLB All-Stars pick up first win over Japan
Yadier Molina and J.T. Realmuto both homered Sunday to lead the MLB All-Stars to a 7-3 win over Japan for their first win of the six-game exhibition series.
NL Central offseason preview: Can the Brewers do it again?
Milwaukee seems due for some regression, the Cubs don't figure to throw money at their problems and the Cardinals might be looking to add some star power.
Nobody's more valuable than Mike Trout, but will he be MVP?
Whether or not the Angels superstar wins his third MVP award, his impact on the game transcends any trophy.
Justin Verlander, Kate Upton announce birth of daughter
Justin Verlander and wife Kate Upton welcomed a daughter, Genevieve Upton Verlander, on Wednesday.
Red Sox broadcaster Jerry Remy says he's cancer-free
Boston Red Sox television analyst Jerry Remy tweeted Friday that he is currently cancer-free after being diagnosed with the disease again in August.
Report: Nats ownership struck down Bryce Harper-to-Astros deal at deadline
The proposed deal would have sent three minor league Astros prospects to the Nationals in exchange for Bryce Harper, The Athletic reported Saturday.