Because none of the programs that ran on XP work on Windows 10.
Seriously, Microsoft have a very, very big commitment to backwards compatibility.
It's probably one of the main reasons they're still around.
(It's also probably one of the reasons Windows Mobile, Windows RE, and Windows Phone always remained niche products - they didn't provide it)