Dose anyone know why most militaries use the beret as there normal head gear?

I think I heard something that it stemmed from a sort of Scot hat?

Any ideas?

J