We are talking about ADOM here. All the monsters are secretly in league with each other, plotting your downfall. Just think about the mismatched throng of creatures in cavernous levels, all ignoring each other to murder one specific intruder. They might also be assuming that you're in cahoots with the flame-wielding abominations - after all, you brought them there - and decided to take you out along with them. Trees are mindless; they can't apply a single standard, let alone a double one.
I actually vote that fire magic, including firebreathing monsters, should turn the entire forest hostile against all intruders, period.