I relied on sales numbers from earlier in the year that showed them running neck and neck. How much profit do you think Toyota makes on each Camry? I'd guess about 1k if they are lucky. Toyota said back in 2017 that it was more profitable for them to build a Camry in Japan and ship it to Kentucky for distribution than it was to build one in Kentucky. FCA makes in the low five figures on each Wrangler. Which would you rather build if you were an automotive company? Full-size trucks offer a similar margin.
Ford said in 2016 that it makes a $13,000 profit on each F150 it sells. Again which product would you rather sell if you are an automotive manufacturer? GM, Ford, and FCA have said for the last several years that they lose money on every passenger sedan they sell. The only reason they continued to sell them was to meet their CAFE requirements which Trump froze. Add in Trump's tariffs on steel and aluminum and it no longer makes economic sense for these companies to continue to build a large volume of passenger sedans. (Both GM and Ford have said Trump's tariffs have cost them a billion dollars making low margin or no margin passager cars even less profitable.)
As you can see Trump's policies are largely responsible for these closures.