I have not the slightest clue about this but if pressed to guess I would think it would have something to do with coagulation of the blood, something acting like a "blood thinner" like warfarin or heparin, +/- paradoxical coagulation, coming from some God-knows-what effect to the drug (certainly not heroin;
possibly some really weird fentanyl analogue; but could be anything, and/or you could just particularly have a weird reaction to any of the above—this does happen, some people have really weird individual effects to drugs that may be almost totally unheard of, even legitimate pharmaceutical drugs, although it is pretty rare—or...nobody can say, really, scary.) which caused what is presumably and idiosyncratic reaction and you.
I have also experienced bizarre side effects from fentanyl laced (plus God knows what) although it was nothing like yours but it was also very very rare and almost unheard of in the medical literature (severe tinnitus and temporary deafness: I found 2 or 3 case reports of opiate-induced tinnitus in the medical literature but they were very obscure and it is not at all something that mainstream medicine is really aware of); point being all the weird cuts and analogs out there today are capable of inducing unusual reactions at least in some people and of course they have never been studied formally, some of them never even appear in the medical literature or were even tried on rats, so it is truly unknown territory.
The above post was in the heroin megathread but I thought it interesting enough to make a thread of its own where people might be able to express similar experiences or discuss what may have caused this. It may be worth some discussion in the advanced drug discussion and neurochemistry forum but for now let's leave it here. And in general if anyone has experienced bizarre idiosyncratic reactions please post them and maybe we can figure something out or at least have a catalog of some of the things that can happen with some the things that are going around these days.
Please note that THIS, OR ANY OF MY COMMUNICATIONS VIA ANY ONLINE MEDIUM, DO NOT CONSTITUTE PROFESSIONAL ADVICE NOR DO THEY ESTABLISH A PROFESSIONAL RELATIONSHIP of any kind; I make no claim to any specific professional credentials and provide no guarantee as to the accuracy or safety of any information provided. In-person consultation with professionals with the relevant credentials is essential for any medical, psychiatric, psychological, or substance-related or harm reduction decisions, as well as general health and wellness in general. While peer support and advice can be helpful, any content posted online, regardless of it's source, cannot, by it's very nature, substitute for an in-person relationship with a credentialed clinician who has had the opportunity to take your social and medical history, with you honestly expressing the same without reservation, and provide professional advice and treatment with all these factors, and others, taken into account.