Technologies like HTTP and Wasm are truly excellent tools for cross platform software delivery and browsers are an ideal sandboxed execution environment.
This idea that the web should only be for straight up HTML documents is a broken mental model.
Apple have a multi-billion dollar income stream that is firmly premised on the fact that nobody could deliver software on their platform unless they could steal 30% of the companies profits and as such spent a huge amount of time and effort undermining the idea that the web could ever be an app platform but you’re not compelled to cheerlead for Apple’s profit margins and anti-consumer bullshit.