At least some of them also have fairly high dues. I remember looking into Rotary in my area about 15 years ago, and just feeling like there was no way I could justify paying however much it was per month, even knowing that a lot of Rotary's purpose is to try to do good works, given what I was making at the time. (I don't remember how much it was, but my impression, at least, was that even if I was interested in actually devoting my time to it, it would still be more expensive than I could comfortably afford on a just-barely-above-national-median salary.)
And there's also a religious aspect: the Knights of Columbus are explicitly Catholic; while it's not officially religious, my experience with Rotary was that it had a very high overlap with churchgoers, and my recollection is that they opened and closed their meetings with a prayer.
And while the VFW may not require members to be former military, it's never going to attract large numbers of people who aren't, just because that's its stated purpose, baked into its very name.
I don't think those kinds of organizations will do as well with the younger generations, today and into the future, given these things. Now, if there were more interest-based clubs/groups around (like community singing groups, tabletop gaming, nature trail groups, etc, just to give a few examples that would interest me), that seems more likely to appeal.
For interest-based groups, I'm constantly seeing large bicycle groups cruising around, so such groups do exist (at least that is one that is openly visible). I periodically will jump in on Linux user group (or similar) meetings in my area too. But they typically have about half a dozen people that show up. I know that hackerspaces were popular in some areas for a while, they may pick up again post-pandemic.
Edit: I just looked again, that is the dues that the central organization charges each chapter for chapter members. The individual chapter dues may be much higher, and probably varies depending on location.
I've been to a lot of these clubs at the invite of friends, but found that most of the members are 60+. Maybe these clubs need to get out there and advertise themselves to a younger audience, because it's quite clear that many people need the social outlets that these provide. Plus, dancing is fun and people should do more of it.