There's always more to be said, but I've responded to this question before: What factors led to the downturn in menswear hat sales in the 1960s?
Are you specifically looking for men's hats, women's hats, or just hats generally in the West? The change in women's hats is a fascinating piece of social history, especially in its marker for class and a woman's role in society.