From the looks of the ring tab on the battery terminal and the location of the wire it appears that it has come off.
Can you follow the wire to the other end ?
That is the negative side of the battery, something may not be working because of not having a ground. My 2016 has that wire and it is connected to that ring terminal.