There can be so many reasons. One is sex addiction. Another is wanting attention. While not excusing it, another reason is taking marriage for granted after a while and enjoying the excitement. Some do it for the thrill of sneaking around. Most develop emotional affairs slowly over time without intending to do so or realizing what is happening. Cheating in marriage is widespread, as good people can become too comfortable and make poor marriage choices.