One of the main drivers of Canada's economy is housing. In BC, the property transfer tax accounts for billions in the budget -- the slow down in the BC housing market directly impacts BCs budget deficits. More people buying homes/selling homes generates tax revenues.
Housing demand is significantly impacted by population increases. More people, need more homes, demand goes up, prices go up. Canada's population growth is almost 100% determined by immigration.
The current spending that Carney's rolled out, from what I've seen at least, is primarily focused in small areas / specific business partners. It's saved some, while allowing many others to fend for themselves. You see it in things like lackluster job growth / stagnant housing markets / poor economic outlooks for many regions.
Pumping up immigration in year 3-4 of your term, should result in a broader bump in various market indicators such as housing market activity, gdp, etc. It'll also cause more pain in terms of individual cost of living, but that can be scapegoated onto international issues for the most part. It'll give the liberals the optics of having improved things, for the next election cycle, even if what they've effectively done is give money to their friends, and then continue on with the status quo. We'll prolly have them being friendly with the democrats in the states by then too, with messages about having to 'turn the page' on the past few years (ie. no accountability, just accept it and move on).