As you know, there are people who decide to change over to the opposite sex. I really don't know what causes it. Some people say it's because the wrong brain is in the body--that is, for instance, you might have a brain that's more of a male brain.
I suggest you talk to a professional about this matter.