His remarks come as Republicans in Virginia and Texas have voiced opposition to same-sex marriage — six years after marriage equality became law in the U.S.