It is a common belief that people behave differently when they wear different clothes. I agree with that because suitable clothes will be more comfortable for you which helps you be in good mood, clothes also reflect your position, your personality and affect the way people judge you. Those are the main factors to make you behave differently.
Firstly, the size and style of the clothes can decide whether you are comfortable to do things you like or not. For example, when you are at school, you have to wear uniforms, which are designed to be formal and polite. It helps the school look more educational and to some extent, limits the activities of some naughty students. In contrast, after school you can wear casual clothes which are suitable for such activities like doing housework or playing football. You can show your naught as freely as you want. Therefore, people often have to behave differently according to what they can do in the limits of their clothes.
Secondly, clothes reflect your position and responsibilities. For instance, the suit of a king reminds him of his responsibilities and he has to show his maturity and seriousness in solving the problems of his country. The clothes of a worker remind him that he should work hard to complete his task in a factory. Actually, I was also advised that if I was going to have an interview, I should wear formal clothes instead of casual ones to behave as well as I expected myself. Thus, it is obvious that your behavior is often influenced by your clothes.