Battery becoming very hot

I would consider a 1/2 smoked ammeter above anything else.
How? Headlight power doesn't go through it. Somehow its been rewired or there's a cross wire short.