Smoke, in general, is not good for dogs. Getting smoke blown right into their faces/noses is even worse.
PDF] Marijuana exposure in animals
Cannabinoids interact with many neurotransmitters and neuromodulators, including acetylcholine, dopamine, γ- aminobutyric acid, histamine, 5-hydroxytryptamine, norepinephrine, opioid peptides, and prostaglandins. 4 Cannabinoids stimulate dopamine release; enhance γ-aminobutyric acid turnover; and may enhance norepinephrine, dopamine, and 5- hydroxytryptamine formation.4
Hard to know what that might be doing to a dog's chemistry. (for me anyway!)
Treating Marijuana Toxicity
(mostly from ingestion first part mentions inhalation)
Chronic inhalation of marij... [Res Commun Chem Pathol Pharmacol. 1976] - PubMed - NCBI
Secondhand Smoke Is A Health Threat To Pets
Our findings reported that chronic inhalation of marijuana and tobacco produced the bronchiolitis with the macrophage infiltration in the wall of the terminal air-passages. This may thereafter induce the pulmonary emphysema.
MacAllister also pointed out that secondhand smoke is greatly associated with the increased occurrence of cancer in the nose and sinus area among dogs. Research also indicates a slight association with lung cancer.
“A recent study conducted at Colorado State University shows that there is a higher incidence of nasal tumors in dogs living in a home with secondhand smoke compared to dogs living in a smoke free environment,” she said. “The increased incidence was specifically found among the long nosed breed of dogs. Shorter or medium nosed dogs showed higher rates for lung cancer.”
MacAllister said the longer nosed breeds of dogs have a great surface area in their noses that is exposed to the carcinogens. This also provides more area in which the carcinogens can accumulate. The carcinogens tend to build up on the mucous membranes of long nosed dogs so not as much reaches the lungs.
Unfortunately, dogs affected with nasal cancer normally do not survive more than one year.
“The reason short and medium nose dogs have a higher occurrence of lung cancer is because their shorter nasal passages aren’t as effective at accumulating the inhaled secondhand smoke carcinogens,” she said. “This results in more carcinogens reaching the lungs.”
Another thing is when people smoke pot, we know what we are doing, and people STILL get paranoid and have different experiences. Dogs don't know what's happening to them and if you've ever seen how much they dislike being on something like ACE, you know that it is really not cool to do to a dog.
People are idiots. Whoops, that wasn't nice. People who do things like that are idiots? yes, that sounds MUCH better.
(ETA - I knew people like that in my youth so not throwing stones!)