They did this partly because those states have fewer overtly antigay laws, but also because the size and anonymity of a city makes it much easier to associate with like-minded people and live as you please.
The main feature of irony that makes us associate it so closely with hipsters is that lots of hipsters are essentially downwardly mobile young people who are putting themselves to some practical use, however small or marginal, instead of sitting around getting obese.