Question: is ascribing a behavior to the wrong source?
Answer: In the context of social thinking, erroneously ascribing a behavior to the wrong source is called: misattribution.