Catching him looking at women AT ALL is a red flag. Trust me. I've had one of those guys. Good men don't ogle women no matter what they're wearing.
Commenting on other people's clothes in a mean way: Not NIce. None of his business. If he was playfully making fun of stuff with you like saying "Oooohh you should get a crazy hat like that lady" it's different than insulting women he's obviously noticing for revealing clothes. I dated men in NYC for many years, and there are ALL KINDS of women EVERYWHERE. Classy men don't look or comment.
Let's pretend he's on the up and up and thinks women who attract attention with skimpy clothes are tacky. I agree with him on some level. If he said to me in private that he isn't impressed with women who try to get attention this way, it wouldn't offend me. If he didn't keeeeep on saying it as evidence he kept on looking too long that is......
But your man's dynamic sounds off to me.
My ex had an annoying habit of pointing out when women were "looking older" like actresses and stuff. He'd see one in an interview or something and go "Holy cow, she's looking old" or something. It was a weird habit he wasn't aware of. I thought it was very insulting. I told him, "It annoys me when you comment on women 'looking older' in a shocked way." He was puzzled and had no idea he was doing it so I recounted some instances and he said, "OK, I didn't mean to do that." He quit doing it.
I would tell your man you respect his opinion on liking classy dressing styles better than trampy ones, but you don't need to hear it any more and he shouldn't really worry about it. Also tell him to quit ogling when he does it. Speak up. I had to reprimand my ex for that too. He quit doing it. Your husband CAN control it. He's just getting away with it. Sounds like he has some character issues....my ex sure did. Although, we went to visit my ex in Baltimore a couple weeks ago and a SUPER va va vooom lady walked by in a plunging neckline belly shirt and tight pants and platforms and my ex didn't even look. He LEARNED to keep his eyes in check when accompanying ladies (myself and our daughters).
You need to wear what you like. I think classy clothes are always better than skanky ones, but dress for yourself, not because you're worried aout what he says. He has no business making those comments.
Do ALL women wear revealing clothing to get attention? Um. I think so. I mean some may prefer it home alone too, but they know it causes attention when they wear it out and about. I have worn revealing clothes out on hot dates to get attention from my date-knowing I was safe from all the harassment when I was with a date. Did my significant others ever want me running around like that by myself all around town? NO. But I could if I wanted, I just don't personally like the attention when I'm by myself.