Hmm I’d say it’s just a bug, I don’t think the devs would introduce such a mechanic.
Not sure how to get around it though, hopefully someone else has had the same experience and has found a way for the NPCs to not attack you.
I long rest between goblin camp fights and I’ve had no troubles, but I didn’t bring scratch to the camp this time around.
Are you playing on patch 3?