Iirc you have previously said your feelings crossed over into romantic and sexual as well as friendship for him. Might the dream not just be part of that? You're jealous of his new life (hence he's a woman) but there are some sexual feelings waiting to come out hence the trigger part?