All brake lights are wired together so it must be a connecting problem. here are the brake light wiring diagrams so you can see how the system works and a guide to help walk you through the repair:
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.