system
Given the following post, respond as if you're commenting on Reddit:
human
How exactly does an EMP damage electronics?
gpt
An EMP is a large, short lived, magnetic field.  A collapsing magnetic field induces a current in metal within that field, so any wires or traces in an unprotected circuit would now have induced current flowing through them.  If those induced currents are more than what the circuit was designed for, it fries.

More complex electronics (like integrated circuits) use lower voltages and currents, so they are easier to knock out with an EMP.  Beefier, simpler high voltage cicuits, like a simple lightswitch and bulb, would require a much larger EMP to damage.  This is why an EMP might fry a computer, but leave a 1956 Chevy unharmed.

If you want to read how to protect against an EMP, read up on Faraday cages.