Late in lifespan, I've had autoflowers develop a small number of male flowers. For example, I've harvested 1/2 the plant leaving the rest to fully develop. That stress can cause the male flowers on a Feminized plant. If your grow is indoors, and same variety, maybe consider yourself lucky to get free feminized seeds.