There are definitely ways of "this program/window is on that computer / that program/window is that computer" but getting to that point requires some effort, rather than it just being "the way everything works"
With windows, or macos, or even X on linux, the vast majority of things displayed on your screen are on the computer that's within 3 feet of you, other than if you're running a "remote desktop protocol" sort of session.
You can run a remote window in an RDP session, etc, but it's different from X where the server may be the only processing running on the system you're sitting in front of and everything else is a melange of remote systems. Even a chromebook -- the UI is driven by stuff on the "local" computer.
With X, I can run a window manager on one host, and a mixture of random windows spread across as many remote hosts as I have open windows. Plan9 is similar, but for every other modern GUI / OS setup there's a "local first" mind set. Sure, you can do things in a totally different way but those are largely the exceptions.
Why ? I use Citrix at work in 2023 and nobody thinks it absurd to run the program on another computer and display it on yours.
Except the wayland developers (last i heard). /s