Won't start one day and fires up first crank next day

my current setup. Brn is ign2

I don't understand the red and the orange wires tied to the brown wire of the resistor ?