Help me understand this scene

When Rachel tells Ross she's still in love with him, then says to forget she ever said it. He says 'the thing is', and she jumps in and says 'the thing is, you're married to Emily', and he says 'that IS what the thing is', as if she had thought he was going to say something different. I never get it, what does it all really mean? Am I missing something?