That would be a dispositional attribution.
Here it is important to make a difference between two phenomenons that use this same term. The first is what the question is about as the dispositional attribution is a way person reacts to something based on the internal characteristics and the second is that we think that a personal characteristic is a cause for a certain event. The second one can lead to a fundamental attribution error if we are not careful.