It's an actual mushroom! Those spores would have already been in your substrate so nothing you've done had caused it and its not harmful to your plant but I would probably remove them anyway. But mushrooms need dark, moist conditions, so maybe just double check your light cycle, humidity and extraction 🌱👍