Crazy voltage

Wiring a 12 v plug with 12v/24v dc plug for trolling motor plug it in getting voltage on 24v terminal, switch wire to 24v terminal and get voltage on 12v terminal all combination switching wires voltage changes terminals?
 
Top