Can cold air or cold wind cause or worsen an ear infection in a child?

No connection. No scientific base. Folk tale.
Myth. 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.