“Boys don’t cook.”

What type of rhetorical device or fallacy is this?

:“…what are you doing in those overalls? You should be in a dress and camisole, young lady!”

what type of rhetorical device or fallacy is this?

Both stem from wrong premises.