The fighting happens I think a bit more often when your exposed. The status effect.
Viewing post in Broken Dreams Correctional Center comments
https://github.com/Alexofp/BDCC/blob/main/Game/InteractionSystem/PawnInteraction...
That will take you to the code for NPC decision making and their are is a lot of math in it.
Exposed status looks like it is only apart of the attacking us interaction.
The rest are based on accounting their personality scores.