It scales fine for me on 4K. Do you have the most recent Mac OS?
When you use 'looks like 2560/qHD', then the OS renders to a virtual surface, pretending it has a 5K screen attached. Then it downscales that image, and outputs it. The result is janky straign lines, blurry'er text, etc.
Modern Windows and Android render their UI natively in any resolution, and so you don't get issues. The caviat is that windows has 3 UI frameworks, and the oldest one is still found is some places, that's the one that doesn't scale.