Well it seems based off the video the sloth was wild as it wasn't within the enclosure of the jaguar thus the sloth was as quickly as possible taken off the jaguar's cage. I could see this happening very easily: wild sloth within the property and just so happens to climb up on jaguar's cage. If this is an escaped captive sloth from the same collection then same scenario except that it's not wild here