During the duergar/Nere fight in Grymforge, if you cause damage to the boxes and chests that are in the area (with any area effect, Shatter and magic arrows in my case), the passive gnomes react in the same way that happens whenever you damage environmental objects in any other area (first a warning, then aggression). I assume it's either because they are flagged as their owners, or the whole "faction" is, which encompasses both them and the duergar, but, regardless, it makes the fight somewhat frustrating to deal with when the gnomes one's trying to rescue suddenly turn hostile.