That's probably because you're staying on a cracked tile, which will break after reaching a certain damage level, instantly killing any player or enemy on top of it.