Generally speaking, the price difference is not necessarily due to different product characteristics. Purchasing conditions and availability are often decisive in this respect.
In the specific case, there are also technical differences - e.g. in view of Linux compatibility, USB-A connection (with adapter), headphone jack... You can also compare these features directly on the manufacturer's site:
https://www.hp.com/de-de...
https://www.hp.com/de-de...