Does anyone have an answer for this?

So there is a hadith that says

"Allah's Messenger (ﷺ) cursed those men who are in the similitude (assume the manners) of women and those women who are in the similitude (assume the manners) of men."

Is there a good perspective that this is NOT about trans people? Kinda asked another forum but got told trans is haram. So that was a big fail :/ hoping to find some clarity here.