Looking at the plug I would be more worried about an electrical fire
. Some of those wires got to be getting hot with that connector. The other connector may be just as bad.
Once that was fixed I'd start checking the charging both charger and alt off the motor.
Dave Neptune