AI can be a hazzard to its friendlies and a relief to the enemy when it fires its rifle while moving a bit or finishing the reload animation.
This can lead to the muzzle being pointed in random directions firing all over the place.
The firing of the weapon and the animation seem to be uncoupled so that the AI pulls the trigger while the muzzle is not pointed at a target.