Words have histories and the history of usage can be a mirror of social change.
e. g. A hundred years ago the word computer referred to a person who did calculations. Today is refers to a machine.
In Shakespeare’s day (500 years ago) the word nice meant foolish. Today it refers to something positive.