As for why the brake lights don't work by pressing the pedal, this is because the brake lights are activated by a switch that is connected to the brake pedal. When you press down on the brake pedal, the switch is activated and the brake lights come on. If the brake lights are not working when you press the brake pedal, it is likely because the switch is faulty or the wiring is damaged.