Bilbo can see that he and the dwarves are about to be overwhelmed by the spiders and decides he has to disappear in front of them. After they get away the dwarves are astonished by him turning invisible and must have the story of his escape from Gollum again. Balin in particular feels he is owed an explanation because Bilbo made him look bad earlier when he snuck past Balin on guard.