Maybe the switch is going? My 18 RTX last year(winter) had a problem where the brake light wouldn’t work anymore. Had it fixed under warranty. But it started with having to squeeze the handle(mine is the stock racing long one) harder and harder to get the brake light to go on, until it wouldn’t go on at all anymore.
Not saying this is your case, but Just an FYI.