Friendly fire / kill shooter (whatever it is) should be turned off, so that if you are hit by someone on your side, you take damage.
That is what really happened during the WWII. A bullet that hits something does damage. It does not matter who fired the bullet , if it hits something it does damage. That should include AAA as well.