A dog wagged its tail in the cage and kept climbing up.