This isn't really about protein, just how ultra-processed, high-carb candy bars are masquerading as protein. Good quality protein is necessary and healthy, and as we age we actually need more of it, not less.
I learned that any 'health' bars with 12+ grams of carbs are just candy. Yet all except one was over that limit. The exception was 5g yet had sugar alcohol (artifical sweetener?) putting the real number at 20g. So maybe those bars are intended as whole meal replacement? If so it's not clear on the labels.
Just buy a bag of nuts if you want what bars portray themselves to be, but are not.