This is what is know at the
Nocebo Effect. There is nothing wrong with the API or the formulation of generics. There is an implied lessening of quality with generics, which is a psychological fallacy. A flaccid expectation leads to a flaccid state.
We need to look no further than the UG subsulture as evidence that generics work just fine. Aside from a poor quality API, or the compounder actively underdosing a batch, there have been hundreds of 'generic producers' in Canada alone for the last 20 years, and at least an many variations in tablet formulatiuon, and the products work as expected. Nocebo does not apply in so far as "the pharmacist switched me to these damn generics".