Most games are built around conflict, and that framing can push a young child toward seeing situations in black and white rather than in the grey where compromise lives.
It is not unique to games, though. Any story needs conflict — without it there is no plot, no match, nothing to resolve. Age-appropriate titles, sensible time limits and a parent willing to talk about what happened on screen do more than removing games altogether.