Microsoft releases new versions of Windows just about every 3 years. Businesses shouldn't be surprised that Microsoft has moved on.
That said I don't see any problem with MSFT dropping support for XP, they supported it much longer than any software by any vendor closed or open sourced.
GL getting support for RHEL 10 years down the line if you haven't upgraded your OS, and Linux from 10-15 years ago has as much in common with Linux today as Windows XP has with Windows 10.
Technically, they are preventing you from legally doing most work on it, since (in the US, at least) creating (not just distributing) a derivative work is an exclusive right under copyright for which they do not license you.
The alternative is to take your chances with free software where outside of any commercial support agreement with a specific provider you generally have no actionable guarantees of any kind that your support will last as far as the time your installation completes.
You can even argue that all of the things there end up being the users fault as they choose so for convenience.
A person or company has the right to cease to work on a particular program; the wrong here is Microsoft does this after having made the users dependent on Microsoft, because they are not free to ask anyone else to work on the program for them."
Microsoft did not make anybody dependent on them, and should have zero obligation to open source Windows XP. There are thriving alternatives to Windows like OS X, Android, Chrome OS, and iOS that XP users could have moved to in the last 14 years.