I've seen it happen on the range. We were shooting a 3-day, 800 rd defensive handgun class. It was a 1911 and the cause was the failure of a low-recoil recoil spring. I had a semi-similar experience in that class, my low-recoil spring split, so the 1911 frequently didn't cycle back in full-battery. Taking it apart after the day's shooting showed me the cause and the standard recoil spring was installed instead.
So it isn't always due to assembly issues. Sometimes we "tune" our guns into a potential failure mode.