This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Actually the brake lights work exactly as you describe.
The problem is that the car is able to slow down quickly without applying the brakes (common with EVs) and doesn’t engage the brake light when driving with that behavior (one pedal mode)
It isn’t actually required to engage the brake light, because the regulation states that the light needs to be illuminated when applying the physical brakes, not when slowing down.
This isn’t a software bug, it’s a design oversight, which can be fixed by changing the design, something that used to require a recall and physical change to the car.