It's almost never the medication "poisoning" your follicles
The fear most women land on first is that the drug is damaging their hair directly. In the vast majority of cases, it isn't. What's happening has a clinical name: telogen effluvium — a temporary, diffuse shedding triggered when the body goes through a significant physical shift.
Rapid weight loss is exactly the kind of shift that can set it off. The hair itself is healthy; it's the timing of its natural shedding cycle that's been disrupted.