>>19739271The US Navy actually commissioned a study into this after the war because it freaked them out so much.
The tl;dr is that only Westerners have an internal moral compass and everyone else acts primarily on what is expected around them, so when Japanese military culture got a little weird it quickly spiralled.