Feel like an awful mom

So I had just gave my LO who is 4 weeks old a bath and then I went to change his diaper about 30 minutes later and my LO peed all over himself while I was changing him and me (happens not often Bc I catch it in time ). So I was going to give him another bath of course and on the way to give him a bath he poops while I’m carrying him and it gets all over the floor and me. So I bathe him and while I’m drying him off he pees again all over us and himself agaaaaaain. I’m so sleep deprived that I’m annoyed so I show my frustration by saying “ughhhh whelp you gotta be bathed again!” Meanwhile the whole time he is screaming bloody murder bc he doesn’t like baths much or being changed so that adds to my stress... and my husband says “be nicer to him” and I’m thinking I’m not being mean to him.... (he said I yelled at him which I didnt... my voice was frustrated but not at him... just the situation and how I felt bad he was screaming bloody nurses and I didn’t want to put him through another bath again.... but I immediately feel like an awful mom and person that I let the stress and crying get to me.... am I being hard on myself? I love my son more than anything and I feel awful that I may have seem mean to him. The no sleep is getting to me.