Why would the headlights on your 2002 Chevy Avalanche go out when you turn on the bright lights?

Perhaps the high beam part of the lights are rs