The AI does not distinguish allied/enemy and he reports about the enemy.
Often the AI-soldiers in the squad of the player, or player character reported about the enemy, when the enemy isn't around in general.
For example the AI sees a Union soldier from other squad and says - "//Contact soldier//" or "//Contact man//" or "//Contact enemy//"
In these moments the distance to that of a Union soldier can be < 10-20 m! Soldiers may confuse ally with enemy only at a big distance. On short distances at least it looks ridiculous, **please fix this and teach the AI to distinguish enemies from allies.**