Milk undergoes heat treatment - pasteurization - to kill off microbes hat can cause food food spoilage and disease, but certain bacterial stains an survive this heat shock as spores and cause milk to curdle in storage.
They ferment lactose at room temperature and turn it into lactic acid.
I hope this answer helps!M