What causes townhome owners to skew more liberal?

In general, townhomes are more in cities/suburbs rather than rural, and city people tend to be more liberal. A comparable question on the flip side would be, what causes farmers to skee more conservative?