Enemy suicide

I’ve noticed monster above A certain LVL will kill themselves off with no fighting at all.Battle starts enemies disappear and I get xp!Ver0.4.3