People in Canada aren't making US salaries. Most people want to go to the US for the money.
Canada on the other hand gives you PR on entry if you're skilled enough.
Money doesn't matter if it becomes an eternal struggle or impossible to maintain legal status.
#1 could change, some tech companies have started to realize they can offer more remote jobs and save money while offering salaries that are still very competitive to anyone not living in the Bay Area. #2 was already problematic before Trump. #3 is often better outside the US.