The two most likely reasons for an EMP are a nuclear explosion or solar flare. This post discusses the damage an EMP may cause and actions that you can take to prevent or manage the results of the EMP. A large Electromagnetic Pulse EMP would cause widespread problems.
https://commonsensehome.com/electromagnetic-pulse-emp/
