I think Kaguya wanted to have Mokou for the banquet that evening. Mokou wouldn't go because Keine's sick, but if Mokou got the medicine for Keine, Mokou would probably stay with Keine instead of going to the banquet. Therefore, Kaguya sends Eirin to treat Keine so that Kaguya can have Mokou.