Worms in your bud eating and pooping. Ide spray spinosad or BT. It almost looks like it could be something else though. A few years back I had this weird black stuff (not mold) spread on plants and ruin parts of the bud. I took one hit and it was disgusting.