Social networks such as Facebook and Twitter have put a world of interpersonal connections quite literally in our hip pocket.

Experts say those same social networks have made it easier for people who are inclined to cheat on their significant others to do so with partners both familiar and previously unknown.

“Social media seems to have added fuel to the fire of infidelity,” says Joyce Marter, a psychotherapist and the CEO of Chicago-based counseling practice Urban Balance. “Former flames are just a click away. Appropriate relationship boundaries can become blurry. For example, when does casual messaging cross the line into an emotional affair?”

Benjamin Karney, a professor of social psychology at the University of California at Los Angeles, agreed.

“For people who are morally willing to and motivated to, social media offers an unprecedented opportunity to engage in unfaithful behavior,” said Karney, who has extensively studied interpersonal relationships and marriage. “You don’t even have to find somebody who is in your neighborhood. You can flirt and exchange sexual communication with anyone who is willing to do it on Planet Earth who is holding a smartphone.”

That’s something Anthony Weiner, the disgraced politician who has become the de facto poster boy for cheating in the digital age, knows all too well.

Weiner repeatedly used social media, including Facebook and Twitter, to engage in affairs. He was caught in 2011, 2013 and again this year. The first time cost him his seat in Congress. The second cost him any chance he had of becoming mayor of New York or reclaiming his once promising political career, period. The most recent time cost him his marriage to Huma Abedin.

So why would someone whose spouse has cheated, on multiple occasions, stay in the marriage?

Relationship experts say there are a number of reasons.

“The history and bond built between couples doesn’t just go away when a partner cheats,” said Tyler Fortman, a licensed clinical psychologist with Chicago-based relationship counseling provider Couples Counseling Chicago. “Most of the time, it’s that loving bond, and either continued love or hope that love will be rekindled, that keeps relationships together.”

But marriages are about more than just loving each other, experts say. And love isn’t the only reason people stay with a partner who has been unfaithful.

“Some people are afraid of negative consequences of possibly losing the relationship, such as financial instability, impact on children, or change in social status or network,” Marter said. “Some people look at all they have invested in their relationship, such as time, money, creating a home, family and social network. Some people have cultural or religious beliefs that motivate them to stay in the marriage.”

Time heals rifts

Then there’s the possibility that a cooling-off period offers new insight on a marriage.

“Even though, initially, you may feel like getting out, after time passes and there’s space for reflection, people often change their minds and want to work on it,” said Anne Malec, a licensed clinical psychologist and founder of Chicago-based Symmetry Counseling.

The partner who was cheated on also might look beyond the personal impact when deciding whether to end a relationship.

“If my partner betrays me because my partner does not love me enough or does not care about me and the family, that’s pretty hard to get over,” Karney said. “If my partner betrays me because my partner has an illness or an addiction, then you may be able to look beyond that.”

Relationship experts say that for couples to stay together, both parties have to put in effort, and the partner who cheated has to do what it takes to be trusted again.

“It takes a lot of conversation,” Malec said. “It takes transparency. It takes the unfaithful partner’s willingness to answer a lot of questions. Sometimes the same questions over and over.”

Fortman agreed: “The unfaithful partner must demonstrate actions that [they] can be trusted, over and over again. The cheating partner must also work to demonstrate their understanding of the harm that they caused to the relationship and their partner. Both partners must choose to forgive — either the other and/or themselves.”

Looks are deceiving

There haven’t been any studies directly linking increased usage of social media sites like Facebook and Twitter to an increased likelihood to cheat. That being said, experts say social media could lead to marital erosion, and not just because it provides an outlet where partners could kindle a flame outside of the marriage.

“Social media has added tremendous pressure in relationships,” said Mikki Meyer, a New York-based marriage and family therapist. “Friendships are judged by the actions which are displayed on the internet, and information allows strangers to impose their views about what might be going on. No one really knows what happens behind closed doors, and information is often skewed depending upon the source or their perception and judgment.”

What’s displayed on the internet isn’t always reality, which is why couples shouldn’t necessarily benchmark themselves against the happy images portrayed by their friends and families online.

“People can look on Facebook and compare their own marriage negatively to the marriages they see on Facebook because people only post the good stuff on Facebook,” Malec said. “Sometimes, people just assume that everyone else’s marriage is much better than their own.”