Major life change.
Having a new baby is such a joyous time, we often don't expect how stressful it can be after they're born.
Parents are tired, anxious, and their "emotional energy" is now even more divided. There's nothing wrong with not being interested in sex
when a new baby comes - it probably happens to everyone, at least for a short period of time. If it's persisting, please talk with your doctor!