This occured to me while in the Underdark for the first time in this playthrough. I just got to the Myconid Colony and their first interaction was to threaten me to leave their territory. After I respond with "I'm leaving" the dialogue persists and loops idefinitely until I choose to Attack.
Right after that encounter I rolled back 20 mins in my last quicksave but the same thing kept happening. Ever since, the goblin camp and every other location where NPCs just chill and I have no bad relations with will all threaten me and getting me trapped in the endless loop where I just need to pay a ransom go to jail or attack...