There can be several reasons behind a wire getting frayed. Generally, it happens due to damaged insulation due to heavy usage, heat, overloading of a circuit and even rodents cutting through and damaging electrical cords.