Just like Windows SmartScreen and now the new requirements for Android.
what does the scare modal of "are you really sure you wanna run this? could be bad dude..." do?
the only purpose i can see it serving is to push devs to use the AppStore on mac, which is highly restricted in what you can do, and of course, takes 30% of your revenue