A phobia is an unfounded or unreasonable fear. Obviously God is not afraid of homosexuals, or anything else. He loves the sinner, hates the sin, and is willing to forgive or to punish.
Sometimes people may develop a phobia as the result of a trauma. What’s also important is the effects of an actual phobia on a person, such as blood pressure, pulse, compulsion, etc.. A person almost killed by a poisonous snakebite, for instance, might develop extreme fear of snakes, my wife is one such example, got an infected bite from a snake, and she has profound effects on her vital signs if she sees one.