Variation in asexually reproducing organisms like bacteria can occur through mutations. Mutations are sudden changes in DNA that occur due to the error in copying of DNA during cell division. Sometimes these sudden errors are beneficial for an organisms and they get selected and produce new species.