Thanks to a three-run homer by Welington Castillo, the D-backs ended a pair of losing streaks Saturday night as they beat the Giants, 6-5, at Chase Field. It snapped a seven-game skid overall and five-game home losing streak against the Giants this year.