for one, it may start as the simple interest of wanting to know how he or she looks when wearing the clothes of the opposite sex.
it may develop into the complete need to become part of the opposite sex (transsexualism).