wonder how this happened

I would guess that the rocker contacts the spring retainer at or near max lift, pushing on the retainer and unloading the keepers, allowing one of them to come out. You are extremely lucky.