In response to a murder in prison a commenter asked:

The violent code of prisoners is an enigma on what’s right & wrong in their own small world of how justice is to be served.

I responded:

Well. Try this.

Suppose most of the men in prison suffered child abuse.

The “code” is then more obvious.