If national polls show support for gay marriage, why does it keep losing in state votes?

Mysteries.