It's because MS treats win32 (or how ever you want to call the "legacy" api) like the plague despite it being the past,present and arguably the future.
I still can't name a single UWP app that isnt a crude mockery of some win32 app that runs circles around it in both performance and UI design.
My favorite example of how this new generation of MS devs handle performance: https://github.com/microsoft/terminal/issues/10362