At moments, we find ourselves embraced with overwhelming love, and at others we find ourselves dismissed with irrational hate. This is true for regular people, like you and I, just as it is true for famous celebrities and personalities. We all go through such turns in our lives.
At times the love and the hate that we experience has no tangibly explainable reason. For instance, you may meet a person who has every merit the renders him valuable but for some reason, you feel an internal unexplainable aversion to him which stops you from developing a fruitful relationship with him. On the other hand, you may have someone in your life who has every reason that renders him worthless, but you are still standing by him despite all those reasons.
This is because not every aspect of love and hate is tangible. When you find those moments in your life in which you are embraced with overwhelming love, be grateful to Allah by reciprocating that love to people because gratefulness secures and increases bounties. However, when you are faced with irrational hate, instead of searching for reasons to please the haters themselves, do everything you can to invoke the love of Allah, because the Prophet ﷺ said,
“إذا أحب الله العبد نادى جبريل: إن الله تعالى يحب فلانًا، فأحببه، فيحبه جبريل، فينادي في أهل السماء: إن الله يحب فلانًا، فأحبوه، فيحبه أهل السماء، ثم يوضع له القبول في الأرض.” [متفق عليه]
“When Allah loves a slave [of His], He calls Jibrīl and says: ‘I love so-and-so; so love him.’ Then Jibrīl loves him, and he announces to the inhabitants of the heavens that: ‘Allah loves so-and-so; so love him.’ Thereby, the inhabitants of the heavens (the angels) also begin to love him. Lastly, a unique acceptance is granted to this person [among the people] on earth.” [al-Bukhārī & Muslim]
There are many ways to gain the love of Allah. One such way is by supplicating. Al-Tirmidhī related that Dāwūd (as) would say,
اللهُمَّ إنِّي أسألُك حُبَّك وحُبَّ من يُحبُّك، والعَمَلَ الَّذي يُبَلِّغُنِي حُبَّكَ. اللهُمَّ اجْعلْ حُبَّكَ أحَبَّ إليَّ من نَفْسِي، وأهْلِي، ومن الماءِ البارِدِ.
“O Allah, I ask You for Your Love, the love of those who love You, and actions which will cause me to attain Your Love. O Allah, make Your Love dearer to me than myself, my family, and cold water.” [al-Tirmidhī]