Security software are also “apps”. Since Microsoft is also in the security software business locking down access for their competitors could definitely be seen as anti-competitive practices.
Apple doesn’t have a monopoly with MacOS so other rules apply.
So instead of spending 1 day writing good code, we’ll be spending a week debugging shitty code. Great.