This is not a surprise. Inhalation of any smoke is not good for you. Even smoke from an electrocautery unit in an operating room has been shown to be carcinogenic.
https://www.cnn.com/2023/11/06/health/marijuana-heart-stroke-risk-wellness/index.html