Are you trying to seat a loaded magazine with the bolt closed? If so, you need to give it an extra hard slap to get it seated all the way, as you are having to overcome magazine spring tension as well (rounds pressing against the bottom of the carrier)
To test specifically to see if there is a problem with the magazine and/or mag catch, lock the bolt open and then do the following:
-Insert a magazine. It should click into place without excessive upward pressure. You should see the retention bar on the mag catch move outward as the mag is almost seated, then click back down into place in the notch in the mag.
-Give it a firm downward tug.
If the magazine comes out when you tug, something isn't right. Repeat the above with one or two more magazines. If all of them come out when you tug, you probably need more tension on the retention bar; spin as indicated prior. If only one of them comes out, it is probably a mag problem. If none of them come out, I bet you were inserting a loaded mag on a closed bolt with not enough gusto when you were seeing the issue.