Husband sleeps through crying baby

How can my husband sleep through our screaming crying baby? This is the second time now I’ve left her sleeping in the vicinity of him while he’s sleeping and I go to another room to get things done. This time I was pumping and hooked up to a wall so it was very inconvenient for me to get up to comfort the baby. I could only stand it for maybe 5 minutes. I tried calling his phone because I knew it was right next to him and wasn’t dead. I had only been pumping for maybe 10 minutes before she woke up. I had to disconnect myself and go out and I woke him up asking how he can’t hear her right next to him and she hurts my ears from another room. Is it not an instinct for guys to care about their crying baby? Am I allowed to be mad? It may be different if I hadn’t just talked to him telling him I was going to pump and that she was asleep in the swing and he said okay.