I believe the term you are looking for is the actor-perceiver bias. This means that any behavior that is observed by others has two attributions, the attribution of a person who performed the behavior (the actor) and the attribution of someone who witnessed the behavior (the perceiver). Here is an example. A person is stopped for speeding. In the role of the actor, you are more likely to make an external attribution, saying to yourself "I was stopped because my speedometer doesn't work right." Perceivers are more likely to make internal attributions, thinking that the driver was stopped for speeding because he was reckless and didn't believe the law applied to him.
So, to simplify it...the actor blames the outside world, the perceiver blames the person performing the act.