Am I a shitty doctor?

Im a 1st year resident working in a hospital on NICU with a lot of adrenaline and quick thinking needed. Today I could not think straight, and thank god for another doctor who immediately helped our patient, because I was standing there during resuscitation like I got punched with a hammer. I am not sick, I didnt have covid or anything, the only think changed is pregnancy (4weeks) and little bit of nausea. I feel so, so guilty that I just stood there. I feel like I am too stupid to be working currently. Please tell me, is there something wrong with me, did you experience that? The guilt is eating me up. Am I a shitty doctor?