I think it’s not uncommon for a drug treating some condition with some symptom to have a potential side effect that worsens that symptom. When you start playing with some set of receptors, it’s possible something goes too far or, for whatever reason, not far enough and now we’re worse off
See: antidepressants can increase suicidal ideation, cannabis (used for nausea) can cause nausea at higher doses, etc.