Kapelaphobia

kapelaphobia is the fear of hats.