I had uninstalled and reinstalled a couple of games via the Battle.net app. Before uninstalling they were listed under installed apps in Windows settings. After reinstalling, they weren’t. I’m using Windows 11 here.
Downloading the desktop installers for the games seems to work as a workaround, but that only seems to be available for games that are free to play or have a trial. I think this should be fixed.