The BOP lifting frame was lifted against the chain baskets to lift the BOP high enough.
This(eventually) caused the bolts securing the chain guide to the BOP winch to fail. This (likely) caused the chain not to feed properly into the chain basket. Once a certain length of chain was not feeding into the basket, gravity pulled the remaining chain out of the basket.