Maybe crossdressing is, with some people, supported by high levels of testosterone... and after sex (or more correctly, after ejaculatory orgasm), these levels change.
Try having sex without ejaculating. See if the urge to purge is the same. I'll bet it's not tied to having sex, but rather to the hormonal/psychic changes that ejaculation precipitates.