Sorry to spoil the glock bash... but any auto can jam.
Causes include
Climatic Conditions (very cold ammo does not work as well)
Poor Maintenance
Bad Ammo (under or over charged)
Poor Shooter stability (limp wristing)
This is NOT a comprehensive list
all of these can be worked on, but all autos CAN jam.
When I shot my Glock - first time I ever shot an auto of any sort, and my 6th or 7th round ever fired out of a pistol, I had 20 perfectly executed ejects and loads - not one single problem.
I heard echoing in my head before I puled the trigger the first time from the guy that sold me the weapon “don’t let it push you around, no limp wrists, you OWN this gun now, you paid for it! shoot it as such”.
I suspect most people’s issues with Glocks or any other auto come from three main things:
1) Improper maintenance
2) bad ammo
3) limp wrists
YMMV
But auto pistol jams are usually easy to clear. Revolvers can jam too, but those are a cast iron Hillary to clear. Fortunately they are also much less frequent.