When this happens, sometimes I find it helps to sit with them and do a group activity (story,game, etc) even if only for 10 min and then when they go back to playing the mood has changed for the better