Answer:
because that is a fire hazard. putting containers that hold your flammables next to eletrical outlets is a dangerous feat; it will be at higher risk of catching fire.
so remember to keep your combustible materials away from your electrical outlets for optimal safety.