You can get more information about this on the following federal Canada website: https://www.canada.ca/en/revenue-agency/services/child-family-benefits/canada-child-benefit-overview...
In general, when a male and female parent lives together with the children, the female parent is considered the primary caregiver and is the one that receives the Canada Child Benefit.