Yeah, in so many of the cases we have seen here and from my own experience, the majority (and I mean like over 95% of the cases rough guess) there isn't an infection but just some funkly by product of fermentation. Tbh, it is a pretty ugly process. The final product is nice though.
Additionally, there is nothing you can do in the event of an infection really (in terms of 'saving' it) and the advice I always give is to ride out the fermentation, bottle/keg it and then after the required conditioning time, taste. Then and only then can you really know if it is screwed up. Even repeat recipes can proceed differently from batch to batch.