Breastfeeding in public

Why does society think it's OK to see half naked women but then turn around and talk crap when a woman is breastfeeding in public? ???? Makes no sense to me.