Friedrich (5-6) struck out seven and gave up five hits to hold Philadelphia in check until the Rockies' offense put together five runs over the sixth and seventh innings.
Josh Rutledge, making his major league debut, doubled home Colorado's first run in the second inning and his sacrifice fly in the sixth put the Rockies in front for good at 2-1.
Eric Young added an RBI single in the sixth and Colorado struck for three more in the seventh, when Ramon Hernandez singled in a run and scored on Michael Cuddyer's triple, and Cuddyer scored on a throwing error by Carlos Ruiz on an attempted pickoff.
Cliff Lee (1-6) gave up three runs, two earned, on nine hits in six innings to take the loss. His only victory this year came in his final start prior to the All-Star break.
Philadelphia has lost five in a row and 11 out of 12.
Celebrity Breakups and divorces of 2014 [PHOTOS]