They have a psychological disassociation with their own sex, which leads them to identify with the opposite sex, and so on and so forth.
In laymans terms, they don't consider themselves guys, so they obviously identify with women (which leads them to getting gender reassignment surgery).