Pajamas originated as everyday wear in India, and were adopted by the British as casual wear during the Raj. It was only later that they came to be used primarily as sleepwear. If there’s something about a specific form of clothing that makes it unsuitable for wearing in public (too revealing/sheer, maybe) I can see a…