Stop in for a cup of coffee

pretty sure its wired something like this.
Might be a mix up at the bulkhead if not right at the ammeter.
Get it straight and it should be good to go.
View attachment 1715450483
If I'm right, the fix could be as easy as moving the wire from the main splice to the other ammeter stud.
The loose wire could be spliced in,
upload_2020-1-10_11-59-35.png

or given a ring terminal if its long enough.
upload_2020-1-10_12-1-37.png