They're laying off engineers in Michigan and overseas to move jobs to the Bay Area? You're going to have to connect the dots for me on this one.
42 jobs listed in Mountain View https://search-careers.gm.com/en/jobs/?search=software&locat...
6 in Detroit https://search-careers.gm.com/en/jobs/?search=software&locat...
16 in Austin https://search-careers.gm.com/en/jobs/?search=software&locat...
I'm pointing out the bit of your logic where they didn't offer the ~600 engineers in Michigan comparable jobs in the Mountain View office. And due to COL changes, you know damn well they'd have materially lower salary expectations than Mountain View natives.
That's the part of your "just move the jobs to the Bay Area" theory which doesn't make sense. Relocating trained employees is massively more cost-effective than firing + hiring + training.