Ayanbadejo urged the court to rule in favor of same-sex marriage.
A day after his administration filed a friend-of-the-court brief unequivocally calling on the justices to strike down .......clarionledger.
California's Proposition 8 ballot measure, Obama said he felt there was no way for his administration to avoid the case.
"I felt it was important for us to articulate what I believe and what this administration stands for," the president said.
The nation has gone through the same evolution he has gone through about how gay couples should be treated under the law, said Obama, who once opposed gay marriage but changed his position last year during his re-election campaign.
"I think this is a profoundly positive thing," Obama said in a White House news conference.
Still, it marks the first time a U.S. president has urged the high court to expand the right of gays and lesbians to wed.
Obama said the brief didn't explicitly argue that gay marriage should be made legal in every state because the case before the court deals specifically with California.
"That's an argument that I make, personally," Obama said. "The court may decide that if it doesn't apply in this case, it probably can't apply in any case. There no good reason for it."
The brief is not legally binding, though the government's opinion could carry weight with the Supreme Court when it hears oral arguments on Proposition 8 in late March.
California is one of eight states that give gay couples all the benefits of marriage through civil unions or domestic partnership but don't allow them to wed. The brief argues that in granting same-sex couples those rights, California has already acknowledged that gay relationships bear the same hallmarks as straight ones.