Looking for a little clarification.

Was fighting undead where those flaming pigs are.
During the fight I casted regeneration on myself and my character(sebille) took damage. Also since the cleric build has Necro in it everytime she would do damage she would take damage.

What is causing that?

thanks!