and how they would expect how they would
Expectations sometimes play into how other people behave, you can predict their response if you know them well enough.  
The people were not behaving as others expected they might in the particular situation. 