GTA housing/rental market is beyond abysmal. A small 1bd costs you close to 2k CAD, and not to say the pay in tech here is much less than what you would get down in South.
At the risk of sounding like a xenophobe, it is high rates of points based immigration. There's a lot of talent pouring in every year. There's definitely other factors too (Canadians don't seem great at starting tech companies that become big that usually pay higher wages).