Fresh milk has a pH of 6

Fresh milk has a pH of 6. Explain why the pH changes as it turns into curd ?

Fresh milk has a pH of 6.
But milk turns sour when it is changed into curd. The curd contains lactic acid. So the pH will be less than 6 due to presence of lactic acid.