If the government really cared about protecting consumers, they would not care about the country of origin. They would have import controls that ensure imported foreign milk follows the Canadian standards you mentioned. Instead, they simply slap an incredibly high average duty of 218.5% on any dairy product coming from abroad, no matter its characteristics, effectively blocking any import of dairy.
There is high-quality milk made in the U.S. too. But Canada prefers to protect Canadian oligopolies and keep competitors out. And this way, consumers keep paying higher prices for the same product. Why not let consumers decide what they want to purchase?