As for mentioned, Ellie needs more supplies for Diana and the baby, so in order to get what they need, she needs to give them what they want. It is what it is, but everyone in the end gets something in return.