Yearning is inseparable from love, and since once doesn't have the object of love immediately, one has not fallen in the embrace of the beloved immediately, they are suffering. That's how they are related.
Love itself cannot be divorced from the suffering which comes from being separated from the object of love.