Cannabis (that is, its active ingredient THC) alters these normal conditions.
THC behaves like anandamide. It mimics the neurotransmitter, binding to the receptors that are actually designed for anandamide. It takes over the work of the anandamide, as it were. When the THC binds to a receptor, the message is relayed.