As a frequent user of xkill I was surprised by that too, but I remember reading somewhere that making a terminal application kill another application's window is not allowed by design. Reusing a sibling commenter's analogy, it's kind of like some javascript functions in the browser can only be triggered by user actions for security reasons.
The compositor, however, is allowed to kill the windows it's showing. So if you want to kill a window, you can ask the compositor to do it for you. Gnome, KDE [0], sway [1], etc.. each expose this functionality in a way that differ between each other.
[0] https://www.reddit.com/r/kde/comments/1242w2e/wkillsh_an_xki...
[1] https://www.reddit.com/r/linuxquestions/comments/ufw7tj/is_t...
I feel like the people deciding what (research and technology) to fund in the EU generally have very poor taste in their selections. I assume that they are non-technical as they often seem to choose the projects that make the most ambitious claims about social impact and EU values, but have very little to none technical merit.
Stuff like Rust, that could be a real technological advantage for the EU, is not funded, but weird blockchain semantic web foo is https://www.ngi.eu/
[1] https://github.com/nix-community/lanzaboote