My pdoc just told me something about this at my last appointment.
The margin of error for the amount of medicine is twice a much for generic than for brand name. So if the dose from the brand name drug was just *barely* enough, the difference from the wider margin of error in the generic could be that the dose is effectively too low.
Margin of error for brand name is 0.5%. For generic is 2 - 3 %.