I haven’t done much research into the origin of the trope, but it’s definitely been around for decades. I know that I’ve seen it as far back as Old Westerns, and even in comics from the ’50s and ’60s. What’s disturbing to me is that a double-standard like that could go unchecked for decades without anybody raising an eyebrow.