It had a factory deck when I got it. I only use the eight speakers wires, three power wires and one amp wire. Dimming feature and other wires are capped off and are not used. I use a factory to Kenwood wiring harness and have verified the wiring. I believe it's when the headlights turn on, not the parking lights. The charging system checked out fine and were that the issue I would expect a good bass hit to draw enough amperage to produce the same symptom easily.
The first deck was factory with no issues, the next deck was a Kenwood KDC-X590 with no problems, the next ibe was a Kenwood KDC-X994-the first one to exhibit the issue and become unusable, a random Kenwood purchased in route to replace the broken one (still works, just no BT) and finally another Kenwood KDC-X994 with will occasionally go into protect mode when the headlights are turned on after it has completed it's own start up cycle. The last one also likes to making thumping noises (most pronounced through the sub) having nothing to do with the audio being played, but sounding more like it's picking up something from the Tahoe's electronics or maybe a dry solder joint arcing.
Just to clarify my qualifications; I have a strong electronics background still working in electronics as an electronic security consultant for healthcare, corrections, government and industrial installations and at one point owned at custom home, commercial and mobile audio installation shop for fifteen years.