The answers are situational and dispositional attribution.
Attribution is the inference of behaviors when we are around people or when we are on our own. The situational attribution is when we suppose that the cause of a particular behavior is something outside us, in the environment, something that we cannot control. On the other hand, dispositional attribution is when we assume that a behavior or event is because an internal, personal, factor of the individual, like a feeling or a mood.