Can so Doctor's be really stupid?

My son need a medication for medical reasons. So I get get a phone called from the pharmacist explaining to me that the doctor made the medication order to a pharmacy that wasn't authorized it can only be authorized at a pharmacy from a hospital , The pharmacist tells she try to get ahold of the clinic staff and doctor but they ignore her calls. I called the clinic long story short I was able to get ahold of the doctor and he tells me to pick up off the shelf from a GNC. What hell I'm confused I'm switching my son's doctors. I don't consider myself a smart person but Jesus I tough a doctor would know common sense what medication is allowed and which one isn't. Can doctors be stupid?
Can so Doctor's be really stupid?
Post Opinion