While I generally agree that it is annoying that religion and government got mixed up here, I've found that in a significant portion of cases, "marriage is religious, don't redefine it" is just a convenient cover for animus. Out of which things like North Carolina's 2012 state constitutional amendment came.