The ability to fire at unseen units is not unique to us. Properly trained enemies can do that as well. If such an enemy spots one of our units, she remains spotted for some time and enemy snipers might attack her. Note that hitting a spotter automatically makes you spotted, even if the hit resulted in outright kill. The only exceptions are melee kills.