One of the reasons the Ugandans are considering such a harsh law against homosexuals is because they believe it is a "western" weakness. And where would they get that idea? From the hate mongers in the US such as Scott Lively who have made it their lives work to wipe out the "evil" of homosexuality.
Despite historical evidence of homosexuality in Africa long before the Europeans arrived, most conservative African religious and political leaders now view homosexuality as a Western export, and a form of imperialism and neocolonialism. And of course, U.S. conservatives exploit and encourage this belief.
And they consider themselves doing God's work. This does not come from the Jesus that preached love thy brother as thyself.