I assume you're a believer. Why would god make homosexuals if it wasn't right? Why do dozens of animal species practice it?
In order to answer that question you would have to know and understand who "god" is, or at least who he says he is, and which "god" you are referring to.
In the context of the Judeo-Christian Bible, God indicates He made man and woman, male and female. He did not make homosexuals; He labeled said behavior unacceptable. To assume so would be in contravention with who He says He is. So you have to pick whether to believe what He says, or not believe in a "god" (or that particular "god") at all.
God set this machine (the universe) in motion, and is now an observer until He chooses intervene. To assume He will intervene is wrong, as the statement "God made X" implies.
The Bible is a moral manual, not a scientific document. He knew we'd figure out how things work on our own. He gave us what we couldn't figure out: why He did it.