rennin is the cause of it becoming cheese, except for acid-curdled cheeses like paneer. bacteria and mold don't have much to do with it, traditionally, although nowadays you can buy vegan rennin made by genetically engineered bacteria instead of extracted from the stomachs of slaughtered calves