Why cant men wear hats at the dinner table?

my grandmother is always telling my cousin to take off his hat when we eat, why is it rude and why is it ok for a woman to wear one
6 answers 6