Why we play h6 in QGD?


It's just a usual prophylactic move in the sense of Nimzovich.
https://en.wikipedia.org/wiki/Prophylaxis_(chess)

But it was better to hold the f7-g7-h7 pawn line at this time, than break it with h6? Play b6 or Nbd7, for example?

But it was better to hold the f7-g7-h7 pawn line at this time, than break it with h6? Play b6 or Nbd7, for example?
This alternative plan is ok too, it's the matter of taste.

@namelesss and @pfren First of all, thank you for your insights! I play this since my beginnings, but never questioned myself. Indeed, from your comments, i can see at least two advantages. Opens king escape, with a tempo on white, and protect the pawn again the d3 bishop attack. I agree with your comment @pfren, if i play h6 in move 5, it is stronger, as i don't show my castle intentions just yet.
One question more, If Bd3, like it was said, it isn't better to have the pawn in h7 to be able to play g6 if really needed? Closing diagonal b1-h7 and end the threat of the bishop sacrifice or even checkmate in h7?
