It's definitely a combination of factors that've led to Dez's lack of production.
Injuries, obviously. But there is also seemingly a lack of motivation to go all-out. You could see a noticeable difference in Dez's demeanor for the playoff game last year vs the regular season. Super engaged and focused and giving maximum effort... maybe because he knew he was featured in the game plan? Regardless, all of that falls on Dez, himself.
But the other part, like a few people have already said, is that the Cowboys don't make Dez a central figure in the offense like other teams do with their highly-priced WRs. That is no fault of Dez.
Bottom line though is that Dez is being overpaid for the output he produces. I still love him, though.