My mother would (rarely) act like she might love me. I got a brief glimpse of what a loving mother felt like. I would do anything to get her to love me because that small amount of affection kept me hooked! I realize now, she was manipulating me.
I was in my early 30's that I just gave up. I was just feeding her ego by trying so hard. It was liberating! It took many years of therapy to get over the notion that it was my job to make my mother love me.