Minecraft wiki entry for Death_messages, associated text: <player> starved to death
Appears when the player plays in hard or hardcore and is killed by hunger damage because their hunger bar was at 0.
Also appears when a vex takes damage after 30-119 seconds from when it was spawned.
<player> starved to death whilst fighting <player/mob>
Appears when the player plays in hard or hardcore and is hurt by a player or mob then killed by hunger damage.
Also appears when a vex dies after being hurt by a player or mob.