AI doesn't move

Hi! Why, if I control the third person character to turn in the direction of the AI, the AI can move. If I turn away from the AI, it doesn’t move. For example, if the AI runs at a character and wants to hit it, you can just turn your back on it and the AI will stop. Why is this happening ? Which parameter is responsible for this ?