It is true that colds are more common in some windy times of the year & ear infections are associated with colds.
If you stretch the facts you can say the windy times of the year are associated with ear infections. It's not the wind & putting on a hat or cotton in an ear won't stop them. People want to understand why & how to avoid problems. They will make it up if they don't know.