Alex Tabarrok writes,

I was surprised at how close the association is between state level GDP and the urbanization rate

GDP measures economic activity. Economic activity is outsourcing. If my daughter does her own laundry, her work does not get counted in GDP. If she outsources it, the work does get counted. In cities, outsourcing is easier and more natural.