The generation that came after the baby-boomers puts a much, much higher value on having great sex. Both men and women feel entitled to sexual fulfillment from the person they marry today, as was never the case before.
And marriage offers security and comfort, but sustained desire requires obstacles. So few couples know how to tackle this roadblock, and most just give up or cheat.
I just read a book called Mating in Captivity (which I sort-of paraphrased) that discusses this phenomenon and describes case studies where the author, a marriage counselor, helps couples rediscover what they were attracted to in their partner before marriage, and helps deconstruct infidelity and the attitudes we have about it. (No, it doesn't suggest cheating, or dress-up.)