Hmmm ok. How about this, abortion has been decided from a legal standpoint for 40 years. You either fall on one side or another but most people (and public opinion in general) aren't changing sides.
Same sex marriage hasn't been settled legally and public opinion is moving towards one side. Since the public in general is becoming more and more accepting of same sex marriage, the public is also more understanding of a president admitting that he supports it.