It’s kind of sad how Sherlock and John react to being upset with one another. John leaves the flat, Sherlock hides in his room.
When John’s mad, he gets away from Sherlock and into the company of others.
When Sherlock’s mad, he hides away inside himself because there’s no one else but John.
NOPE
Hey, some of us don’t LIKE dealing with other people when we’re angry. He’s not all alone in the world. He could go down to Mrs. Hudson’s flat, for one thing, if he wanted coddling and a kind word.
But from what we’ve seen of Sherlock, when he gets angry he’s pretty obviously of either the “Take out on everyone else around him” type or the “Go sulk in the corner” type. He gets angry at having to deal with (what he perceives as) stupidity—which is what he tends to take out on everybody around him. The other kind is when his pride is pricked, which is what often sets him to sulking on the sofa (and is often John’s doing). He seems to prefer to keep that to himself—partly because none of us like spreading it around when we’re feeling humiliated and partly, perhaps, because Sherlock prefers to hoard the intimate details of his personal life.
Also, the man doesn’t WANT friends. If he did, he’d obviously have little trouble making them, because he’s quite capable of being civil and personable, even charming, when he chooses. In fact, based on what we’ve seen, people often naturally gravitate towards him—Mrs. Hudson, Molly, Angelo, John, Lestrade, Dimmock, Stamford, Henry Knight. He deliberately drives most of them off unless they’re useful to him somehow, and he’s outright said it’s because he doesn’t WANT to care.
Incidentally, in this interpretation of Sherlock, he doesn’t NEED a guide through the world who can patiently dictate what is ‘good’ and ‘bad’ when it comes to dealing with people. His ‘Not goods?’ and glances toward John aren’t queries on how to act like a polite person; they’re queries on what behaviors will please and impress John.