If there is a sudden change in voltage, the charger connected to the mains may overheat and start smoking, which in some cases can cause a fire.
It’s also important to keep your home safe, especially if you have young children or pets. If a charger is plugged into a power outlet with the cable plugged in, there is a risk of electric shock.