Gale went hostile for no apparent reason when I camped in the Zhentarim hideout today. I got the dialogue line 'look out, an intruder' and then he went hostile and attacked me and my party. It is worth noting that he was not in my party setup at the time, and he also didn't ask me about getting him artifacts to eat yet, so he couldn't have been angry about that. After killing him, his dialogue about reviving him popped up, I revived him, and he immediately went hostile again.
Now I have a necrotic corpse in my camp dealing damage to me every time I go to camp.
Any idea why this happened, or is it just a bug?