For instance, try to play a video game on MacOS. While Vulkan is available on every playform, it's not available on MacOS or iOS despite the fact that it would take an engineer at Apple a weekend to implement (figuritively speaking). Apple are also killing off OpenGL support for MacOS.
Generally, Apple deliberately build a "dependence ecosystem" for their consumers on the product side while also actively preventing engineers from using portable technologies on their platforms.
The fact that MacOS is as open as it currently is is a miracle and I am sure executives hate that.
They create the fastest and most ergonomic mobile hardware on Earth but, outside of web browsing, video editing and some engineering workloads, there's very little you can actually do on it.
Re executives being mad: The thing is, they make money off Mac hardware, and even then its profits are dwarfed by iPhone and iPhone accessories. Which are of course locked down.
Microsoft tried to build their own extensions to the internet standards, like activex and proprietary DOM/JScript extensions, explicitly designed to lock devs into IE’s ecosystem. It's quite impressive that they managed to miss this opportunity to Adobe. And how Adobe then just... squandered it. I would expect that "being the necessary proprietary piece in significant chunk of internet" would have some deep strategic advantage, but both tech giants couldn't be bothered to do a good job.