Probably broken wires between the tailgate, and the roof, open your tailgate, look top left, and you'll see black rubber sheathing covering the wiring, expose the wiring, and check for broken wires, best way to repair is to add a new section of wire to each damaged section, solder then heat shrink
Thom