In the book, it’s a test forced on a kid with death as the penalty. When you fail some hazing ritual in college they don’t kill you. It’s supposed to prove he’s not an “animal” - although he was talking a wearing pants which should have been enough. It is never explained.