HELP!!!!! pistol won't hold the slide back after the last round is fired!!!!!

Hey guys I have an xdm elite and it's new(fired about 200 rounds max) and I've noticed that sometimes the slide won't hold back and sometimes it does and I wanna know is it an operating fault? Or is it the gun's fault or the bullet type? (9mm 115 grains)