NPCs are stupid and can easily get stuck on objects. The only solutions for it are either for the player to go back to retrieve the NPC or for the quest to pull a Retired Hunter and manually move the NPC closer to where you are if you get too far away from it.