The thought processes we use to assign causes to our own behavior and that of others are called "attribution".
Individuals are encouraged to assign sources to their activities and behaviors. In social psychology, attribution is the procedure by which people clarify the reasons for conduct and occasions. The improvement of models to clarify these procedures is called attribution theory.