The Diamondbacks parted ways with catcher Welington Castillo and right-hander Rubby De La Rosa on Friday, non-tendering a pair of players held in high regard by the previous regime, then filled Castillo’s vacancy by agreeing to terms with free-agent catcher Jeff Mathis on a two-year deal.

The Castillo decision came as a surprise given that he had turned in a productive 1 1/2 seasons at the plate for the Diamondbacks, for whom he hit a combined .261/320/.452 with 31 homers in 760 plate appearances since joining them in June 2015.

But the decision to pivot to Mathis, who as of now appears likely to split time with incumbent Chris Herrmann, seems to speak to a pair of realities: First, the Diamondbacks’ budgetary restraints were significant.

Castillo was projected to make close to $6 million in arbitration, substantial money for a team that was close to its payroll ceiling. Mathis, meanwhile, is getting a two-year, $4 million deal, according to sources.