Both Federal Eagle and Remington UMC are good ammo. It's not the mag springs, it's not the gun, and it's nor that it may be dirty or dry because it ran 9 out of 10 rounds. Did it fail on the first or the last round? Do you load one and then insert a full 10 round mag? The 10 rounders are a PITA, you can use to loader to make it a little easier, or sand down the follower legs by about 1/16" and smooth the front. Without see your grip, the most common failure with new Glock shooters is thumbing the slide stop or limp wristing.
hold your gun like this