I think you also need to consider the history people have with each other. When you've been friends with someone for a long time, or have had lots of successful interactions with them in the past, you're more likely to cut them slack, even if what they do seems pretty off-the-wall. You think "oh, they're just having a bad day," or "oh, wasn't that hilarious?" You've earned the right to be weird with each other!
If you're still forming your impression of someone and they do exactly the same thing, or even something less weird, you're more likely to form a negative impression of them and then never cut them any slack at all. You think "this person is hard to deal with, not worth the effort."
I guess what I'm saying is that a lot of the time, people are not responding to the behavior per se, they're responding to the person doing it, so their track record with that person is the thing that counts.