For centuries, accounts of animals' responses to death have captured the public imagination, from elephants investigating the bones of their own kind to primates carrying deceased infants.