I think the guards (one wasn’t even a real guard) were given a sedative to go nite nite for a few hours. The were literally asleep at the switch.
I think they were yanking on his legs. From the physics I have seen so far this is the only way this could have happened in the cell environment he was in. Their excuse is of course neglect.