the zombie died because of sunlight

idk if this is a bug or not

if it's not they should remove it because it doesn't make sense at all
me and my friend found a zombie in (almost) full diamond armor set but its helmet randomly broke