GM got the govt. money in 2008, and repayed in 2010. That was 16 years ago. Irrelevant to the current situation.
The recent quality issues sort of mirrors Boeing. GM wasn't watching their suppliers as heavily as they should, the suppliers were letting product through that was bad. Cranks, lifters, rods, etc. Even the telematics module issue right now with them bricking on 2024-2025 SUVs. Lax in monitoring the supply chain during COVID, but an urgency to crank product out. Things were sacrificed to get product on the ground.