There is breastfeeding your baby, and then there is public nudity on purpose. There is a difference. My bet is this “mother” had her entire breast (and possibly both breasts) exposed during the feeding process and that caused the objection.
I used to breastfeed in public but I did it discreetly (covered). Not hard to do once I got used to it.