You beat them up in a fight, to the point where they kneel down, and say that you won and make clear they don't want to fight... And yet every time they stand back up and attack you, even if you do things like put away your weapon.
So far, the only NPCs ive ever seen do this are generic NPCs that have their race as their name. No one else does