If someone steps out of his or her relationship because of the lack of attention and loneliness etc; who is to blame? The person who commits the act?

If someone steps out of his or her relationship because of the lack of attention and loneliness etc; who is to blame? The person who commits the act?