It is very simple: Macs have a setting which prevents users from downloading Mac software other than the App Store and licensed developers.
This setting can be changed in the preferences. See
https://support.apple.com/en-ca/HT202491After you have installed OpenToonz, you might want to consider turning it back on again, just in case.