Why do chimps hunt?

Chimps are the only species of great ape (except for us) that hunts and kills mammals. Sometimes even with spears. However, this makes up a relatively small part of their diet (some estimates put it at only 3%), so it is widely believed that the primary reason they hunt isn’t for food. The groups which…