Qn: "What causes some people to stay put in cruel and hopeless marriages even when they go through a lot of pain, is this brain-washing?"
Yours is a rather heavy question full of emotion and it is possible that you ask the question because you have lived in one such “cruel and hopeless marriage”. We can only wonder what you or the person on whose behalf you ask the question did to resolve the problem.