I think Obama originally planned to announce his support for gay marriage after the election, if he gets re-elected, that is, but feels pressure now to shore up the liberal base.
I read somewhere the plan was for him to change his "Hope & Change" heart right before he accepted the nomination but all this horseshit with Biden and NC had him move it up. Whatever...