The industry accepted operating range for automotive electronics is -40C to +125C ( -40F to +257F ) so that it can survive under the hood of most (water-cooled) cars (or inside of a black car when it’s 120F in Dallas).
That is the temp range that average quality auto electronic parts should be able to operate in, given an automotive environment.
Auto-quality electronics should be more expensive than “commercial” parts, like those in your Laptop or TV remote, because laptop Commercial grade parts are rated from 0C to +70C. (32F to 158F) The upper end of the temp range is where silicon in chips begins to soften, heading towards a melted junction and failure.
Because they are tougher but more expensive, some auto electronics manufacturers may not screen them to the range extremes, (if at all). Thinking that the working environment won’t be that harsh, they buy the parts screened towards the middle of the range (again, if screened at all by the manufacturer, but chip makers know how good each batch of parts is).
So imagine that your aircooled Speedster engine has just been running on a freeway for over an hour and is sitting at 210F as you pull off to a rest stop. You turn the engine off and it goes into “heat soak” where the engine temperature spikes up to, say, 275F, including the module inside of your distributor. The electronic stuff does not have to be turned on to suffer degradation of the part junctions within - the heat alone causes the silicon inside of the parts to degrade. Do this enough times and it will eventually fail.
THAT is why racers learned to put their engine management electronics in the cockpit, NOT in the engine compartment, and run redundant systems, just in case. Same thing for cars that have their ECUs under the dash or fastened to a wheel well, rather than on top of the engine, like on my F250 truck where it became a “top five failure item” on some Ford pickups.
Could the electronics manufacturer make their circuits tougher? Sure, they could use screened/tested higher-end Military-grade parts but at their typical sales volumes they would have to charge 2X - 4X the going price for the final device and would not be able to sell many. The Military needs and pays for parts that don’t fail. Even so, some still fail in normal use, but far less often than in the automotive biz. The Automotive world uses parts in the middle of the quality curve so they end up with “acceptable” (for the seller)
“You get what you pay for.”