I imagine this is due to the decline of local civic life. When you're a stay at home parent, and you are a part of some voluntary association, a church, PTA-type organizations, and the neighborhood is filled with other stay at home parents that you can organize play dates with (or hang out with while the kids are at school), life is less lonely.