The way that someone responds to you is a reflection of them, not of you. If someone in your life is wildly inconsistent, all you can do is make sure that you are maintaining consistency yourself.
I’ve worked with a number of people who acted like we were besties one day and then gave me the cold shoulder for weeks. I spent too many years wondering what was wrong with me before I finally figured out that their mood swings had nothing to do with me.
Oh, man. What a day that was. I was in first grade, still too young to understand that there were people in that thing and that those people died.
When we watched it blow up like fireworks, I don’t think we realized that wasn’t what it was supposed to do. Our poor teacher had to process it pretty quickly so she could explain it to us.