No one seems to question whether a qwerty keyboard is a good fit for this. Everyone somehow accepts that as the only way. But in reality, it doesn't pass even the slightest scrutiny. It's qwerty because that's the layout most people are familiar with from computer keyboards. It's not optimized to take advantage of the touchscreen hardware. Instead, it's a layout that works beautifully for full hands, crammed into a screen where you have use it with just two thumbs that often miss the tiny keys.
I tried to rethink touchscreen text input once[1] but this prototype ended up having such a steep learning curve that even I myself switched back to qwerty. I might try it again sometime in the future but I'm also open to ideas.
[1] https://twitter.com/grishka11/status/1517431598857302019