An interesting academic discussion of why hazing continues to exist within militaries, despite efforts and regulations designed to remove this rituals among modern Western professional armed forces.
https://www.youtube.com/watch?v=bB2q8Qbquug
Professor Joanna Bourke explains the how hazing is seen as creating warrior culture within combat units and training; and why within many segments of the military see the removal of hazing - including the victims - as threating to the Esprit de corps necessary for cohesive fighting unit.
The fascinating lecture providing a well researched overview of the topic including the debate about what is hazing and what is character development in a military setting, I recommend watching it if you have an interest in military studies.