Human life is based since its start from time of Adam and Eve and continuing on the marriage between man and woman. With out this clean and instinct relation of marriage between man and woman, no life can continue.
Losing attraction in opposite gender and feeling attracted to same gender is an abnormal situation which needs to be dealt with by specialist psychiatrists.
Sexual attraction can be deviated and go in wrong direction as we see some abnormal persons feel attracted to a married woman or a close family member or even to an animal. This means that not every attraction is legitimate but it can be wrong and sinful even if some people think it normal.
The person who feels such abnormal attraction needs to deal with himself to understand and treat the reasons and seek help and advice from specialists and trusted scholars.
No doubt, the believer in Allah, the Prophet and Ahlul Bayt should read what the holy texts said about such feelings and acts and why such acts are mentioned in holy texts as major sin which led to destroying Communities which used to do it as we read in Quran about people during the time of Prophet Lut.