tail light goes out when I hit the brakes

my driver side tail light will go out when I hit the brakes, both tail and brake lights work, but a coworker told me the driver side goes out, could it be the bulb or something else? thanks.

Mark