For the same reason why Canada regulates a whole array of things you might find mundane. To ideally benefit society.
For example, in Canada it is illegal to sell unenriched flour. Flour sold in Canada has to fortified with things like folic acid, riboflavin, and thiamine. Why? Because this helps contribute to Canada having one of the lowest birth defect and infant mortality rates in the world. This kind of thinking extends to regulations around food prep in restaurants, car safety, pharmaceuticals, etc...
Given the single payer health insurance that is pervasive in Canada, the government(s) are incentivized to ensure proper delivery of services and care as efficiently as possible.
Canada is far from nor will it ever be some libertarian hellhole.