Windows Scan uses a separate scanner driver (WIA) that sometimes isn’t installed with the print driver.
Open Settings > Bluetooth & devices > Printers & scanners and check whether the device is listed twice (printer and scanner). If only the printer is there, click Add device and let Windows find the scanner.
Press Win + R, type services.msc and make sure Windows Image Acquisition (WIA) is Running and set to Automatic.
If it still isn’t found, install HP’s full feature software for your model, which includes the WIA scan driver.
If you only need to scan occasionally, HP Smart is fine to keep using; this just matters if you want to scan from other apps.