Kelley's attribution theory
Kelley (1967, 1973) argued that the ways in which people make causal attributions depend on the information available to them. When you have a considerable amount of relevant information from several sources, you are able to detect the covariation of observed behaviour and its possible causes. For example, if a man is generally unpleasant to you, it maybe because he is an unpleasant person or because you are not very like able. If you have information about how he treats other people, and you know how other people treat you then you can work out what is happening.