The insurers often have PBM contracts that incentivize them in filling specific drugs. This is the most likely reason https://en.wikipedia.org/wiki/Pharmacy_benefit_management
Do doctors prescribe the specific brand drug and prevent changing it to generics, because the insurer tells them to? That sounds like a solvable problem: doctors that prevent swapping for generics must have valid medical reasons, not only economical reasons. Makes sense?