MIAMI (CBSMiami/AP) — Scoring runs was not a problem for the Miami Marlins on Tuesday night.

Brian Anderson hit a three-run homer in the first inning and the Marlins went on to a 12-7 win over the San Diego Padres, who lost their fourth consecutive game.

READ MORE: Small Plane Makes Emergency Landing In West Kendall; US Coast Guard Searches For Missing Plane Off Boca Raton

The Padres (45-49) fell four games under .500 for the first time this season.

Harold Ramirez had two doubles, two RBIs and two runs scored. Garrett Cooper hit his 11th homer and a two-run single, and Starlin Castro had a bases-loaded triple to make it 11-3 in the sixth.

Jordan Yamamoto (4-0) struggled early and needed 99 pitches to get through five innings, but he gave up only two earned runs. Padres rookie Logan Allen (2-2) had his second rough start in a row, allowing seven runs in 2 1/3 innings.

Franmil Reyes hit his 26th homer pinch-hitting in the ninth. San Diego teammate Manuel Margot hit his sixth homer.

Anderson’s one-out homer in the first, his 13th, gave the Marlins a quick 3-0 lead, and in the second they added four more runs. Two scored when right fielder Josh Naylor misplayed Ramirez’s fly into a two-run double, and Cooper followed with a two-run single.

Miami went 5 for 9 with runners in scoring position.

READ MORE: COVID In Florida: 5,459 Additional Cases, 118 Deaths Reported Saturday

FOWL OUT

A pigeon caused a brief delay during the second inning when it landed in the infield. The bird eluded plate umpire Fieldin Culbreth before first baseman Cooper finally chased it into foul territory.

TRAINER’S ROOM

Marlins: Placed RHP Austin Brice (right forearm flexor strain) on the 10-day injured list retroactive to Sunday, and reinstated RHP Tayron Guerrero (right middle finger blister) from the 10-day IL. Brice’s injury is not believed to be serious. … RHP Pablo Lopez (right shoulder strain) and RHP Drew Steckenrider (right elbow inflammation) continued their rehab by throwing bullpen sessions.

UP NEXT

Padres: RHP Chris Paddack (5-4, 2.84 ERA) is scheduled to pitch against his former organization for the first time Wednesday. He was an eighth-round draft choice by the Marlins in 2015, and was traded to San Diego the following year.

Marlins: RHP Trevor Richards (3-10, 4.18) had a season-high eight strikeouts when he beat the Padres on June 2.

MORE NEWS: Inter Miami CF Unveils 'La Palma' 2021 Secondary Jersey, As Team Gets Ready For 2021 MLS Season

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)