cuz vidja gaem!

But seriously, this is an age-old question. In cases of magic, we can argue that intent is weaved into the magic itself by the caster. In games that don't have friendly fire but no magic... you can't exactly weave intent into a bullet, so... "cuz vidja gaem" is really the only answer there. I go with the mindset of intent being what prevents harm to friendlies.