I don’t think the fresh milk is the cause, cause at this age they are getting more active (non stop climbing walking running) as to compared previously they hardly “exercise” so it’s normal. Also if both parents are slim and lean, it plays a part too.
This happened to my cousin too when his mother switched his formula milk to fresh milk. So she decided to alternate it and it got better. She continued giving him the S-26 formula milk