Andrew Sullivan, in his just released Newsweek cover-essay, explains:
Barack Obama had to come out of a different closet. He had to discover his black identity and then reconcile it with his white family, just as gays discover their homosexual identity and then have to reconcile it with their heterosexual family. The America he grew up in had no space for a boy like him: black yet enveloped by loving whiteness, estranged from a father he longed for (another common gay experience), hurtling between being a Barry and a Barack, needing an American racial identity as he grew older but chafing also against it and over-embracing it at times.
This is the gay experience: the discovery in adulthood of a community not like your own home and the struggle to belong in both places, without displacement, without alienation.

http://www.heraldsun.com/view/full_story/15486317/article-Gay-marriage-and-the-NAACP?instance=hs_editorials
“The number had dropped to 59 percent in 2010, but resistance to the idea of legal marriage for gay couples was still much stronger in the black community than among whites, whose opposition dropped from 52 percent in 2008-09 to 46 percent in 2010.”