While the article does acknowledge that the study only shows correlation and not causation, it doesn't suggest what seems to me the most intuitively obvious alternative hypothesis.
We know that increased rates of mental stimuli and social interaction are beneficial to a growing brain. Perhaps breastfeeding correlates with parents that have more free time to interact with their child.