Bill Gates once referred to Waterloo as their secret weapon as his competitors were obsessed with MIT and Stanford and CalTech when he could grab large portions of Waterloo's graduating classes whose students were of the same calibre.
this goes in to the age old nationalist trope of "American jobs should belong to Americans" without considering that sometimes if the job goes to the better candidate, it can still be a net positive benefit.
End of the day, you're benefiting from their expertise in a field to improve tech, of which certain fields like computer graphics have a high showing in Canada, but also the taxes they're paying into the system.
Your argument also assumes that equally qualified and skilled Americans exist in the local market, that are untapped.
You think tech workers are unskilled?
First off, nothing was “handed out.“ Americans have the same crack at those jobs as Canadians.
> it’s not like the education systems are so different that the US is gaining some skilled labor
That’s not really how that term is used, assuming we should even be using the term “skilled“ and “unskilled“ labor anymore. But that issue aside, I’m not quite sure what your point is.