If you didn't install HP's driver software, Windows will use its built-in drivers (if it has any) for the make and model of printer. Those drivers rarely work well. Also, HP's drivers these days are finicky, which is one reason why I always use Brother printers.

Possibly useful link:

https://support.hp.com/us-en/document/c05367434