Because Alice wanted to find out whether Bob and Carol know each other well enough that Bob knows whether Carol will come or not.
Alice wanted to know if BOB had built a social graph of people attending the party.
BTW, your comment was pretty funny either way.
Because Alice wanted to find out whether Bob and Carol know each other well enough that Bob knows whether Carol will come or not.