Hi ,
I am Ivan, I will help you with this.
One thing is that you bought the games on the XBOX console, you can't use it on the PC version, the second thing is that you can access the games on your console using xcloud if you have Gamepassa Ultimate, thus having the chance to install the games as well as the console and PC versions.
So you can't install the games you have from the console on your PC, you have to buy the PC version that includes the entire Xbox catalogue.
You can only install without purchasing if it is through GamePass.
Hope this helps.
If you find the answer helpful, please mark it as an answer.
Independent Advisor - Community
Thanks