I appreciate the study calls out that most cannabis is smoked, and it may be general smoke inhalation driving these results rather than an inherent property of cannabis
It very likely is due to smoke inhalation or even mixing with tobacco; IIRC inhalation of any kind of micro- and nanoparticles is linked to higher risk of myocardial infarction.
I'll admit that I'm a lightweight but I had to stop with the "turpine pens." Now I just smoke dry herb because I know how to regulate it and it never presented any issues like I experienced.
In the run up to that I did experience heart issues (racing/skipping?) but it was no where near that episode. I have noticed that sugar greatly exasperates the heart issues for me.