Corrosion between the two connection points. By unplugging and plugging the connector you removed some of the corrosion. Clean both sides with some electronic cleaner, spray can type. Al