your brain is rigged--dealing with unhealthy relationships

why do bad relationships feel so good? why is it hard to leave an unhealthy relationship?