All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
It is forbidden for a man to wear the clothes that are peculiar to women, whether this is regarding underwear or outer clothes. Abu Hurayrah said: “The Prophet cursed a man who wears the clothes of a woman and cursed a woman who wears the clothes of a man.” [Abu Daawood] This Hadeeth is general and it applies to both the underwear and outer clothes.
It is not a condition for a person who seeks to imitate the opposite sex to have the intention to do so; whoever imitates the opposite sex is dispraised whether or not he intends to do so.
Since the one who does so is cursed, then this is evidence that this act is one of the grave major sins. Therefore, your friend is obliged to take the initiative to repent and stop doing this act. For more benefit, please refer to Fataawa 86527 and 87903.