For US SWE labor, off-shoring was and still is a big contributor. I do think AI is a factor too though. You almost get laughed at asking for headcount now. For junior positions in particular, there are close to zero openings.
AI has grown dramatically in capability since last year as well so I'm not sure 2025 data holds today.