(Spoiler) That's scripted, the ending is supposed to reflect the "countdown" theme by having the player take hits until the health reaches 0.