Most likely the bulb or fuse.
Your trailer tailights are dual-filament, with one being the running lights and the other the brake lights. You need a separate power source from your towing vehicle's brake lights to power them. The easiest way to do this is go to U-Haul and but a set of their trailer towing taillight bulbs for your towing vehicle. The bulbs replace your standard tail/brake light bulbs, and they have two wires coming out of the base of the bulb. One of the wires connects to your trailer's running lights, and the other one connects to your trailer's brake light circuit. I'm trusting that when you re-wired your trailer, you ran two wires from the taillight socket, one for the running lights and one for the brake lights. In some trailers, the brake light circuit also doubles as your turn signals. Good Luck.
Check the brake light bulbs, Check the brake light fuse, Check the brake light switch, In that order.
If the Avalanche came with the factory trailering package, the trailer lights are separately fused from the other truck lights. Check your fuse panel layout for a 10-amp fuse for left side and a separate fuse for right side turn signal/brake light on the trailer.
Blown fuse or bad brake light switch?
This is operating as intended. Brake lights are only activated when the brake pedal is pressed, irrespective of the other lights in use. It is a safety feature so vehicles behind are aware the brakes have been applied. They are separate from the tail lights so they still give a visual indication of braking whether the other lights are on or off.
Check the brake light fuse, the bulbs, the brake light switch and last, check the signal switch.
Check the brake light fuse. If you have 12 volts at the brake light switch I would suspect the signal light switch is at fault.
change the brake lights check the fuse check the brake light swtch
this tells you is a simple wiring problem.most likely a loose wire from the third light to the other lights.(third lights provides the power to the other lights)
Trailer Lights Work on Other Vehicles but Not MineIF the lights [tail, turn, and brake] are working on your vehicle, AND the trailer lights will work on some other vehicle, that confirms:That the problem is NOT in your vehicle's wiring system.That the problem is either in the trailer wiring, OR is caused by the IMPROPER connection of the connector plug wires to the wiring of your vehicle.It is critical that the connector plugs [on the vehicle and the trailer] are properly connected to the correct wires.The fact that NONE of the lights work when connected to your truck suggests that the defect is related to the GROUND wireas that is the only wire common to all the different light circuits.
Check your fuses and look for a dead-short on the tail light wire (probably brown).
Check for a brake light fuse