When you read Quran,b you will see that Allah Loves persons with good qualities like:
1. Allah Loves those who do good. (2:195)
2. Allah Loves those who repent and purify themselves from sins. (2: 222).
3. Allah Loves the Pious. (3: 76).
4. Allah Loves the good doers. (3:148).
5. Allah Loves those who put their trust in Him. (3:159).
6. Allah Loves the good doers. (5:13).
7. Allah Loves those who are justly. (5:42).
8. Allah Loves those who fight in His cause together like a solid structure. (61: 4).
Many other verses in Quran give similar meaning of the reason of the love of Allah.
We can gain love of Allah through obtaining these noble deeds which has degrees depending on the degrees of the noble deeds.
Thinking about the countless bounties of Allah on us increases our love to Allah, and that will make us more grateful and obedient servants, which leads us more near to the love of Allah.
Loving and obeying the most beloved servants of Allah, Muhammad and his Holy Progeny (SAWA) makes us more near to the love of Allah (SWT).
Repeating Estighfaar and Salawaat is always useful in purifying our hearts and deeds and enlightening our hearts.
Wassalam.