Why do people shout 'nice legs' to kilted men?

Do they do that to men they see wearing shorts?

I suppose it's an illustration of the extent of their spontaneous wit! (or lack thereof)