Originally
臭 was the general word for 'odor' — neutral, just whatever the nose picks up (the
自-nose +
犬-dog graph). Classical Chinese uses it for fragrance and stench alike. As the negative sense took over in everyday speech (the chòu reading), scribes coined
嗅 to hold the neutral 'smelling' sense, leaving
臭 as a literary residue in idioms.