Ants usually only eat their own dead when there's a food shortage. Many ants eat their own in order to recycle their brethren into nutrients for the colony. While most workers prefer protein from live sources or meat from decaying corpses or other insects, they sometimes do tend to cannibalism.