I don't really think it's all that much about macOS. I think it more has to do with the state of web development - claude.com or chat.com or grok.com all can use up to 5GB of RAM as an idle webpage in the background regardless of browser. Most apps these days seem to be electron apps which can fire off multiple 4+ GB node processes doing who knows what.
I think most true native apps don't have these issues. Unfortunately there is very little incentive to build on the macOS platform these days, which is where I point more of the finger at Apple. UX, UI, & DX are all quite a bit worse for Mac native.