This is not necessarily the case. Whether you have an aloof personality or not has nothing to do with whether you learn music or not. It depends on your individual personality characteristics.
I guess the student who asked this question probably knows a girl who studies music and happens to be aloof. Generally speaking, girls who study music have better temperaments. Due to their long-term exposure to music, their temperament will improve. They may look more introverted and aloof, but this is not necessarily the case when exposed to them.
I know a girl who studies music and is very lively and cheerful. She is also very talkative and sociable and has many friends. Therefore, I personally think that not all girls who study music are aloof at heart.