Churches have excluded gays or been less receptive because homosexuality is against biblical teachings both old and New Testament. It’s not a personal thing, it’s considered a sin. My church rejects homosexuality as a sin but doesn’t reject the homosexual. We all have sin’s. That said you won’t see any form of sin being elevated into acceptance this includes homosexuality,adultery,coveting lying, cursing,greed,murder,dishonoring your parents etc. Bible says it’s wrong, it’s wrong, end of story.
Now why churches differ that’s a whole different ball of wax. You do have some Christian churches that accept gays. It depends on several things. How closely they follow the Bible. Whether they feel the scripture is the unerring word of God or God inspired. Unerring is a very literal interpretation because God wrote it and doesn’t make mistakes whereas God inspired allows for fallible human mistakes or opinion to get into the scriptures on what was received.
Actually most Christian churches are a combination of the two. Women are supposed to cover their heads but rarely do. Women aren’t supposed to speak in church but often do.
It also depends on interpretation of what’s being read. I.E. Men should not dress as women and women should not dress as men. Some churches take this to mean women wear dresses and men pants. That overly simple interpretation doesn’t work. In some cultures both men and women wear pants, skirts or robes. IMHO It means you should be able to tell men apart from women. I should be identifiable as a woman at all times. I wear flannel shirts but with pin-tucking, feminine cut or colors no straight man would ever wear. You can tell I’m female.
The facets on all religion can be tricky even if they have the same foundation. The key is to read the Bible, know what’s in it and stay in tune to the Holy Spirit. Listen to others but think for yourself because on judgement day you stand alone. Only you answer for yourself, your pastor won’t be beside you. Your pastor is human and can be sincere but he can also be sincerely wrong. Personally I don’t recall any of my pastor ever preaching politics as gospel. I’ve heard them express opinion privately but not from the pulpit like not voting for Trump is like voting for the devil. C’mon now

. Trumps no saint for sure but in the end it’s always voting for the lesser of two evils.