Car wont start unless door is open

THAT IS NOT GROUND!!! That is the main charging wire goes from the alternator output, originally through that white connector, through the bulkhead connector and to the ammeter

Oh ok i see now. So i wonder how and why that wire got so hot and burnt that connector. Was it pulling way too much current?