Intermittent brake light failure. on 2010 Hyundai Elantra

All of my brake lights fail shortly after entering reverse gear and do not return immediately once in 1st gear. I have insepected the fuse and it appears to be unbroken. What could be the cause.

Asked by for the 2010 Hyundai Elantra