الإسناد المجازي
Figurative predication: assigning an action to a related but nonproper bearer.
It is also majāz ʿaqlī (مجاز عقلي), because reason and context identify the shift in attribution; majāz ḥukmī (مجاز حكمي), because the judgment or predication is altered; and majāz fī al-ithbāt (مجاز في الإثبات), because an action is affirmed in relation to something other than its proper bearer.
These names describe the same broad rhetorical phenomenon from different aspects. They do not require every individual word to undergo a lexical change.