Ergo it’s actually bad UX design. Thinking desktop UX if that was an “Amazon app” there would be ONE singular search bar.
To make matters worse, Windows has a search bar in start (usually at the bottom); browser has a search bar (at the top); some websites have their own search bar; file explorer has its own search bar.
You get the point: bad UX design enforced by assumptions made at each layer of the OS/browser/website. Many out of the control of users and developers alike. Nonetheless, it’s overcrowding the UX with redundancy.
Historically speaking, users had an ability to “find stuff” on their system but it was never by an implicit “search bar”; users had to explicitly do something like: file -> find prior to entering search query.
The web browser was the one with the search bar (having one job: entering URLs not search terms) and when websites had a search feature it was typically placed in the middle of site or somewhere else (typically reserved for search terms).
Modern UX can be ridiculous in ways devs put too much emphasis on these “automatic” components. Like the annoying page header that suddenly scrolls with content and takes up 1/3 of the page. Ack! Don’t even get me started.