According to James-Lange theory, emotions occur as a result of psychological reactions to events. In other words, receiving an external stimulus leads to the physiological response.
In this case, the attractive (therefore, we would consider her sexually attractive) will be a stimulus for the man. He would fee emotional and sexual arousal. Thus, he would think that he is also attractive, following the theory.
He would try to speak with her about any topic, based on this psychological trap – he would think that he likes the person while just feeling a sexual attraction.