One argument often made is that games act as a pressure valve: playing through stealing a car or a street fight in a fictional setting lets a player experience the action and its consequences without doing anything in the real world. Having already "done it" on screen, the appeal of trying it for real drops.
That is a contested view, though. Researchers and parents disagree on how strongly games shape behaviour, and most of the discussion comes down to age, maturity and how much guidance a child has around what they play.