These rituals could be seen as cultural coping mechanisms for an evolutionary need. Living in this forest means that getting attacked is a definite possibility, so a strong tribe is required.
This ritual is a right of passage to become a man. Boys die--but those who survive become men worthy of passing on their genes.
Makes me wonder, what are the cultural coping mechanisms in my own society?