It drives me nuts that this is still a thing developers do.
There's three API standards -- D3D, OpenGL and Vulkan. Fucking pick one, pick a stable API version, and just make your shit work with it. Adhere to the standard you pick and don't dick around with trickery and you won't need to pester the hardware vendors to fix your shit for you in their drivers when your hacks piss off the hardware.
It's not like the dev kits for all three console platforms don't support at least OpenGL and Vulkan, after all.
It's not that easy, OpenGL has been deprecated since 2017, superseded by Vulkan. The Xbox only supports Direct X, the PS5 uses Sony's proprietary API, only the Switch supports Vulkan and OpenGL.

I assume this chart is accurate (it might just be for this site's engine), its incredibly difficult to find information about this stuff, and I don't have access to any devkits to confirm myself.
The issue with Vulkan and DX12 is that for years graphics programmers complained and blamed all their issues on the graphics vendors not allowing them to do what they wanted because of the limitations of the drivers/APIs, so with Vulkan and DX12 they were given crazy low level access, but now its an utter pain in the ass to do anything compared to how simple it was in OpenGL. So now if you don't know exactly what you are doing, whatever you write will probably perform poorly. But you can't just use OpenGL as a fallback because now GPU vendors have started dropping support for it in the drivers, since the only big game still using it is Minecraft. If you try and play anything with OpenGL on one of the new Intel GPUs you will get abysmal performance, even the AMD drivers are starting to suffer.
Even DirectX stuff is performing worse now because modern GPUs have dropped support for the older versions, they are now emulated, which is why you get so much better performance by putting those games through DXVK, making it run natively on your GPU driver instead of being emulated.
I kind of don't want to blame everything going wrong with games on devs not being qualified anymore, since things that used to be incredibly simple have become incredibly complex.