One may cause the other
It is possible for love to cause hate and hate to cause love. They are both conflicting emotions, but people may hate a person whilst actually falling in love, and one person may fall in love only to start eventually hating the person they purport to love.