I think something is wrong, open to advise

I have got this issue or problem whatever whenever there’s a girl whose head over heals for me but she single I’m not sexually attracted to her but when a woman is married or committed get me really going what is broken in me ?