Pills while nursing

I don’t get it. I went to take some echinacea to potentially help fight a cold from coming on. But the bottle said if you’re nursing then talk to a doc.

So I called the pharmacist and without even asking my name or looking me up or anything, he tells me it’s fine to take.

If it’s fine to take while nursing then why did the bottle say I need to talk to a doc?

Can someone help me understand?