Technically the gear didn’t collapse. The gear retracted weight on wheels. The damping in the retraction actuator slows the rate that the aircraft drops. This has the unfortunate effect of generating immense forces into the NLG and retraction actuator attachment, risking punching the actuator through the NLG box before the actuator fails through over pressure.