Husband texts girl

So my husband has this friend that’s a girl and apparently he’s been texting her behind my back. I will be clear I’m not upset that he’s texting her, I’m upset that he kept it a secret and out of all days he mentions that he has been texting her on Mother’s Day. I just wanted to enjoy my Mother’s Day but couldn’t cause he was distracting me with this. He said he had a good reason for texting her apparently her husband has some issues going on and so she decided to text my husband out of all people. Great. My husband is not a therapist or psychologist. Now I have developed trust issues because of this situation. On top of that he doesn’t allow me to have male friends or text guys. So am I wrong for being upset? I will also like to mention that my husband is also friends with her husband as well but he’s known her husband longer than he’s known her. I still feel like I have good reason to be upset though.