It's kind of why people use the word "brownies" for weed.
I'm not a consumer, but I guess it's because you the...illegal substances can be put on cookies and hide them this way.