Molds grow by spores and those spores are all around and in the beer. They either transferred from your wort from cooling too slowly or your vessel/utensils were improperly sterilizatied. Some molds can be very harmful. If it’s me, I’m dumping it. If you do choose to keep it, you should let anyone who tries it know. I’m a better safe than sorry person lol