The very first place to look...is at the shooter's technique.
Of the shooter is new, it is entirely possible that he (she?) is "limp-wristing" the gun. That is, not holding it tightly and firmly enough.
This is a typical new-shooter problem.
If the shooter doesn't hold the pistol tightly and firmly, some of the recoil force that operates the mechanism is "thrown away" while the pistol rocks back in the shooter's grip. This keeps the gun from extracting and ejecting fired cases properly.
The definitive test is to hand the pistol to a very experienced shooter, and see if the same thing happens in his (her?) hands.
Beware: Some people say that they are experienced, but their only experience comes from watching TV shows.