is an air freshener bottle that uses a liquid in a warmer toxic?

EDIT: title should mean whether the freshener liquid itself is toxic, not whether the bottle is toxic. The wording is a bit weird.

I sniffed at the warmer to check whether it was working, and a few minutes later I had a sudden pain in the back of my neck. Now my neck is a little stiff. I wonder whether breathing in the freshener’s aroma is responsible?

Also, the mesh atop the bottle, going into the warmer, is spread out, so that not all of it is in a single column inside the hole in the warmer. Could that cause the warmer and freshener to operate wrongly?

I don’t care if it breaks because they don’t cost much but I don’t want to have a reaction to it while I’m asleep.

Perfumes are often pretty toxic. It is a kind of a secret of the perfume industry, and they seem to get a pass on listing the chemical compounds they put into products, but if you dig around a little and find chemical ingredients of perfumes and look them up, their toxicity profiles are surprisingly ugly.