Original: This is the result of fermentation, where lactic acid bacteria ferment the lactose inside the milk into lactic acid.
Simplified: Lactic acid bacteria changes the milk sugar into lactic acid.