It’s not as though the idea of love existed eternally, and then God came across it at some point and learned to love. No, love has its definition and existence in God. Love exists, because God exists.