I've read about people dreaming that their partner has become gay a few times, and it always makes me think that: maybe you are feeling insecure that your partners love for you isn't real, or isn't true. That he might reject you as a woman. And so that's why in the dream he has done a complete 180, so to speak.