I am attracted to men and I want husband and I'm gay but I don't feel gay? And these thoughts of women keep happening but I'm not attracted to them and I don't want to be with one why is this happening?
Depends on what "thoughts" mean. If they're sexual, it's possible that you could be homoromantic/bisexual, or whatever the case is with you. You could also just be attracted to what those women are doing rather than their looks (these are just a few ideas, I don't really know your case from two sentences, lol.)