Total idiot question. Every piece of 'electronics' needs chips, Why aren't they made locally?
This goes back to the early 1980's when chip outsourcing started to become the norm.
When I started in semiconductors, perhaps 70% of fabs were here; Silicon Valley, back east, Arizona, etc. Intel, AMD, Texas Instruments, etc.
ST Micro was "the Intel of Europe". Japan was also a major player. But North America was the dominant region.
All that's changed; now we have TSMC (Taiwan) and Samsung (Korea) as the big boys.
To build a "foundry" (chip fabrication plant), you need about $3B for bricks and mortar. Clean rooms and miles of stainless steel (lotsa dangerous chemicals). Then you need as much as $10B more for the chip making equipment.
The current climate in America is more semiconductor manufacturing friendly. TSMC is building a new plant in Arizona. The fab will build 5nm chips; that's 5 billionths of a meter for the smallest traces (wires) on the most dense chip layer. It should open in 2024.