Minecraft wiki entry for Things_not_to_do, associated text: If the player engages in combat against another player but does not have the correct equipment, they could die and lose any items they have in their inventory.