Can second hand Marijuana smoking cause you to test positive on a drug test?

I'm in a state where Marijuana is legal. I used to smoke daily but in July 2021 I stopped completely. So for almost a year and a half I have not consumed any type of Marijuana. Last month I was around someone for a few days who smoked. A few days later I was in the hospital and tested positive for Marijuana. There's no issues for me or anything, but I'm just wondering how could I test positive if I haven't used any in a long time?

Thanks you!

Vote below to see results!