The smells for cannabis come from terpenes. Different strains of cannabis smell different, depending on the types and amounts of terpenes it produces. Everything from sugar sweet, to spices, to sandalwood and other essences, to vomit and offal, cannabis is capable of mixing it up. :)
Other flavors are from improperly handling cannabis or growing it incorrectly. Fermentation creates an ammonia smell, heat and humidity cause mold. Any number of things could have flavored the "marron" and it also may have been the "marron" flavor itself. :)
Thanks for Asking!