Trait ascription bias
We think that our traits, attitudes, behaviours, moods are relatively variable(it can change as needed) - but other peoples traits are more predictable and static.
Our traits are a result of the situation - while other's traits are the result of their disposition/personality.