Welcome from Northern Arizona
I am not familiar with your model firearm but am wondering about possibility you are reactivating the safety during the recoil cycle.
You might try the following with an unloaded gun and magazine. I repeat unloaded/empty totaly.
1. Rack the slide as you would in preparing to fire.
2. set safety to fire.
3. Squeeze the trigger. The hammer should fall
4. Being carefull to not operate safety, rack the slide as would occur had a round fired.
5. Squeeze the trigger. The hammer should fall again.
If not you might visit the store you purchased it from and ask them to check it out.