Pregnancy when BF

This may be a dumb question, but I’m genuinely asking. I’m almost 3 weeks PP, and breast feeding. From what I understand, breastfeeding delays a period, which you need a period to ovulate, right? How do people wind up pregnant when they’re breastfeeding then?