They don't convert the game engine itself, they patch OS calls and probably the dll/library (whatever xbox is) function calls to vulcan one.
I did an experiment just 3 month ago with having a rust implementation of an game from 99. Its duable, its fast but its not easy as you would need to do gameplaytesting for the whole game and fix all the bugs.
You don't just rewrite a whole modern complex game engine yet.
You know that the game engine already supports Windows, right? All they have to do is do a few updates from what they did for RDR2 and then it'll work.
It really depends on the game. Slay the Spire 2 I was able to get a fully working copy on my iPhone Duo with QA in about 3 hours using Codex.
Mewgenics, which uses a custom flash animation and a bunch of C++ compiled custom engine code and has no Mac version, I got the tutorial mostly working after blowing through multiple resets.
Which is to say you’re absolutely correct. The problems are orders of magnitude apart depending on the game and how it was built.