Good question. The answer is : because Canada offers a 3-year work permit for graduates, which makes it very easy to get a permanent residence, whereas the US only have a 1-year work permit, called the OPT, which doesn't lead to a Green Card.
There are many other reasons, but this is the most...