Things like SwiftUI and the upcoming "clips" (or whatever the iOS/Android "partial/temporary apps" tech is going to be called) are a step in a good direction.
All that said desktop development is an interesting challenge, if sometimes maddening.
Is laziness a good excuse for poor software? For wasting the time and resources of every one who uses the application? For disregarding the conventions of the host platform including any user preferences and accessibility features?
I don't believe this argument for a second, with the ubiquitousness of successful Electron apps.
Sure, you can run some sort of Java VM on a lot of platforms. That's no big distinction, you can say the same about Javascript, Python, Lua and so on.
Once you enter the realm of graphical applications, it's a clusterfuck, just like any other "cross-platform" thing.