>>268473586
Oculus games use their own Oculus API, so you can only use them on Oculus headsets unless you use Revive, which doesn't always work. There are a few WMR exclusives for the same reason [spoiler]but they're not worth playing so there's no workaround[/spoiler].
Most SteamVR games will work on anything that supports SteamVR, but some games have issues on headsets that aren't officially compatible and a few will outright block you from running the game if you have a headset that isn't marked as compatible.