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.
I have yet to take a flight where my Bluetooth earbuds will connect to the screen built into the seat in front of me.