Anesthesia works on plants too, and we don’t know why
Doesn't seem that surprising. Receptors and transmitters are highly conserved across the evolutionary hierarchy. Going the other way, there's plenty of molecules from plants and fungi that affect the human nervous system.