Compare, for example, sir and madam: Three hundred years ago, both were used as formal terms of address. But with time, madam evolved to mean a conceited or precocious girl, then a kept mistress or prostitute, and, finally, a woman who manages a brothel. All of that excitement while the meaning of sir just stuck where it was.