The arrows that appear directed to enemies are a visual guide to help you identify your current objective or target. They typically highlight:
The next enemy you should focus on
The priority target for a mission or encounter
Enemies that are part of a quest or event