The Mexican government is corrupt and that trickles down to their prison system.
All of Central and South America is corrupt. Mexico is just the same but is the “last stop” before the land of entitlement.