Two big factors for car manufacturers (Tesla being the big exception) were that they had moved to outsourcing most everything with just in time supplies, except engines and assembly, and also use older, cheaper chips. The just in time saves on inventory costs and shifts the production and inventory cost risks to the suppliers, so when the pandemic hit and they expected a big drop in production, they cancelled a lot of parts orders. However, the pandemic resulted in a big demand for electronic entertainment and the chip companies had a big increase in demand and sales from these manufacturers. When the car sales slump was much smaller and shorter than predicted, the car companies found themselves at the back of the line for chips, behind the companies that had maintained and increased purchases. (If you were a chip maker, who would you prioritize selling to?) Secondly, the chip makers are always moving ahead to make more sophisticated chips (with a higher profit margin) and the car manufacturers want the old, cheaper designs, and don't have the technical expertise to modify their operating systems and designs to use a variety of chips. Outsourcing and just in time works great until it doesn't.
Larry