I just took a look at a database since I'd never seen 3. Bd3 in the Pirc Defense. It seems that the usual 3. Nc3 of the Pirc blocks the c-pawn, and in the variations where White plays Bd3 he also plays c3 and Nbd2. Therefore the idea of Bd3 is evidently to protect White's e4-pawn without blocking the c-pawn via Nc3 since White intends to play c3 and Nbd2.
In general, such insights can be derived from a database by exploring similar lines and noting cause-and-effect.
It almost seems the main line on chess.com, 3.Bd3 against the Pirc.
Whenever I play the Pirc (well actually I don't intend to play main line Pirc's, I either transpose to the Philidor or I play the Czech System) I see this move a lot here on chess.com.
Is there a reason for this? Is there a video here that recommend 3.Bd3? Is there some popular repertoire book that recommends 3.Bd3?
More importantly I find it irritating (maybe that is the reason they play it), so what is a good way to play against it?