Part of the reason for this is that the Trump administration has made it very hard for Canadians working for tech companies to visit the US on business. I have friends who used to frequently and freely travel between the two countries for meetings, and now they all have corporate policies forbidding it.
As is always the case with protectionist policies, the country imposing them experiences a net loss.