In the game, if an enemy finds suitable cover (close enough to yourself and to the character), he will hide behind it.
To enable this feature, you should activate Use Covers checkbox in the EnemyController script:
Create an object in the scene
Add the Surface script on it
Set the Cover checkbox