I have a feeling the headlamp driver module (HDM) is bad. There was actually a recall on this issue for the 2006 - 2008 model year vehicles.
I attached a few pics below that provide info related to this issue. I'm thinking they may not cover it because of the model year. However, contact a (GM) dealer and see what they suggest.
Let me know what you find.
See pics below. Note: the last two pics are from my manual and provide directions and phone numbers to contact.
Images (Click to enlarge)
Thursday, October 13th, 2022 AT 7:55 PM