Weak recoil springs cause the slide to short-stroke, leading to failures to feed and eject. Replace around 5,000 rounds or when feeding issues start.
Related Guides

Glock Style
The Ultimate Glock Troubleshooting Guide for Gun Owners Who Want Peace of Mind
Fix Glock feeding, stovepipes & trigger problems with advice from 40+ years firearms experience. This guide shows exactly what to do