I have yet to find a messenger with a better UX than Telegram. And I have tried lots in countless attempts to get away from this badly encrypted russian App.

I agree, I personally really dislike discord - I do get that it works better for certain group sizes, but still.

Given that most of the clients are open-source, I wonder why signal or someone else didn't just change the "backend"

I really don't get the appeal. I mainly use Signal, though I also use Telegram a lot, and Telegram seems a lot more dodgy. I constantly get spam on Telegram even though I never get spam on Signal.

Well, I'm fairly sure that Telegram has substantially more users, so not getting spam is more likely due to that only.