This is a setting within the Edge browser itself, and sometimes gets toggled on by Windows Updates.  Open Edge browser, click the 3 dots at the top right and go to Settings.  Click on the Default Browser settings on the left panel, then change the option to "Let Internet Explorer open sites in Microsoft Edge" to Incompatible sites only (Recommended).