The drug is Pramipexole and it has this weird side effect that has been well documented:
Pramipexole (and related D3-preferring dopamine agonist medications such as ropinirole) can induce "impulsive-compulsive spectrum disorders"[20] such as compulsive gambling, punding, hypersexuality, and overeating, even in people without any prior history of these behaviors.[21][22][23] There have also been reported detrimental side effects related to impulse-control disorders resulting from off-label use of pramipexole or other dopamine agonists in treating clinical depression.[24] The incidence and severity of impulse-control disorders for those taking the drug for depression are not fully understood because the drug has not been approved for the treatment of depression and the first major studies of its efficacy in treating anhedonic depression were conducted in 2022. There have been anecdotal reports of abrupt and severe personality changes related to impulsivity and loss of self-control in a minority of patients regardless of the condition being treated, although the incidence of these side effects is not yet fully known.[24]>
From Wikipedia.
This of course does not diminish the suffering of those affected.