As someone who graduated from Computer Science at Waterloo, this is common for anyone with the ability to do so. Pay is not competitive in Canada, and contrary to the common refrain here, taxes/rent/general CoL does NOT make up for this, not even close.
Why doesn't Canada simply... Compete? I mean just looking at the aerospace sector and the CSeries saga, Trudeau immediately bowed down to Trump when tariffs were imposed, despite later being thrown out in courts. All he did was to basically threaten to not buy Boeing fighter jets and instead get f35 from Lockheed (which he was contractually obligated to anyways). No support for the industry, nothing. And that was for…
If you try to recommend people pay more to get better engineers and stop them all going to the US so they can build bigger and stronger companies here you just get dead eyes back - they can't comprehend why you'd give an engineer money.
At some point you need to look after yourself and go elsewhere.