Did you allow LyX to run in the security settings of MacOS? You will first need to clear LyX there in order to launch it.
Unfortunately, in Ventura the old Preferences dialog has been replaced by an iOS-style two-column window, but the functionality is the same.
- Install LyX, then try to launch it by double-clicking.
- The Finder will complain about LyX coming from an unknown developer.
- Now you need to change to the Preferences dialog, scroll down to the security settings (left column) and then past all the app settings (right column) to the section where you have the chance to override the settings which block LyX. Confirm with your password.