For another couple data points - my middle aged friends with kids who moved to my city did so for much of the same reason as you suggest the younger and older folks do. There's just more services for their kids: clubs, day care, pediatrics, playgrounds, sports teams, museums, etc. I have a few middle aged friends who moved away from my city, but they moved to bigger cities (Chicago, NYC) for work.