People like to blame these sort of situations on leadership and systems, but every individual involved in this is making a personal choice to let this happen.
Even if you agree with the general motivations and principles behind these, do you not have the humanity to realize the absurdity and cruelness of what is being done in some of these examples? No special accommodation can be made to get the kid with cancer their medicine while they are in custody?
I genuinely don't know how those questions can be answered any other way than "cruelty is the point" and if that is your response, I don't know how you sleep at night.