Tommy Pham and Fernando Tatis Jr. homered in a four-run ninth inning and had two hits apiece, Jake Cronenworth also had two hits, and the visiting San Diego Padres beat the Colorado Rockies 8-7 in Denver on Friday night.Trevor Story and Charlie Blackmon homered and had three hits each and Ryan McMahon, Nolan Arenado and David Dahl had two hits apiece for the Rockies, who had their four-game winning streak snapped.Trailing 5-4, Tatis hit a solo homer off Wade Davis (0-1) with two outs in the ninth. Trent Grisham walked and stole second, and Davis intentionally walked Manny Machado. Pham hit a full-count pitch into the seats to left-center field to make it 8-5.Colorado nearly rallied in the bottom of the inning. Blackmon had an RBI single, and two walks by reliever Kirby Yates brought in another run and loaded the bases. But Drew Pomeranz came on and got Chris Owings to fly out to end it.Craig Stammen (1-0) tossed 1 1/3 innings in relief and Pomeranz got his second save.The Rockies took a 2-0 lead on Blackmon’s first homer of the season in the bottom of the first.Cronenworth led off the sixth with a single and one out later Grisham walked. Machado followed with a bloop single to right, driving in the first run.Story’s error on a potential double-play ball allowed Grisham to score and Machado went to third and scored on Colorado starter Jon Gray’s wild pitch.