Windows does it essentially the same way. You just are looking at RAM like it is still 1999. When RAM went from scarce to plentiful Operating Systems adjusted to using them as caches to greatly improve performance.
Most people don't understand how RAM is used so I suggest people to not look at it unless they have a reason to look at it and understand what they are reading. Otherwise, they end up doing more harm than good. Start tweaking crap to "free up RAM" and overspending to ensure they have "RAM left free"...
This is my Windows desktop with 64GB of RAM. If you looked only at the memory tab you'd see me using almost 60% of my RAM, but if you look at the things I'm running it is almost nothing. Firefox, Bambu Studio, Steam and some background processes. An in experienced user would incorrectly think I couldn't run this same load on a machine with 16GB or 32GB of RAM. They'd be very wrong.
Apple makes it easier as they add a memory pressure graph to try and help demystify it. Windows doesn't offer any such guidance in its graphs that are easy for a lay person to grasp.
View attachment 2458496
View attachment 2458497