This is 100% GM's fault because they learned nothing after the government bailed them out in 2009. They continued to scrimp on labor and build quality, and that resulted in horrible cars that no one wants. And their response? Scrimp even more on labor.
EVs make up a very small slice of the new car market and virtually none of the truck market. What we're witnessing is a form of kabuki theater, where it looks like GM's hands are tied and the only path forward is to build cars entirely in China. Mind you, this is at the same time that most foreign owned companies build and assemble their cars in domestic US facilities.