In d4 d5 games it's not natural to block the c pawn with a knight because it's either used to support the center (c3/c6) or attack the center (c4/c5). We can't say the same for e4 e5 openings because the board is not symmetric in that way i.e. moving the f pawn weakens the king.
(an early Nc6 or Nc3 isn't terrible, but it's uncommon)
---
But if you mean after playing c5 why would the knight go to d7, sometimes that's the better square because it keeps the c file unblocked.
You can also pay attention to the advanced squares a knight might have on c6. In other words if b4, d4, and e5 are firmly under the opponent's control, then a knight on c6 may just be a spectator.
I'm not a 1.d4 type of player. I've noticed that, in the QGD, black usually plays their knight from b8 to d7 instead of the more natural c6.
I do understand that in some variations there is a pawn in c6, therefore it'd be impossible to develop the knight to that square. But in some other variations the c6 square isn't taken and still black prefers to play the odd-looking ...Nbd7.
What is the idea of moving the knight to that square? From there the knight can't control as many central squares as from c6 (and this is a fundamental chess idea in the opening). I'm a beginner though.
Thank you.