The original answer was one line: it apparently sets a bad example. That is a conclusion stated without any support behind it, and it is worth treating cautiously.
The research on this is genuinely contested. Studies find correlations between exposure to violent games and short-term increases in aggressive behaviour or desensitisation, but the size of the effect and whether it persists is disputed, and most researchers agree games are one influence among many rather than a decisive one.
Age ratings, co-play and simply knowing what your child is playing tend to matter more in practice than the abstract question.