Because browsing isn’t buying. You absolutely can go into a gym and check it out without a membership.
Edit: Expecting me to buy a Costco membership before I can see things like whether or not they’re keeping the place clean and their produce fresh is unreasonable in my opinion,