Logical fallacy
Anthropomorphic inference
Infers that a nonhuman system has a specific human belief, motive, or intention from a superficial similarity without evidence that the attribution explains its behavior.
Examples
The river bends away from the town because it dislikes the people living there.
The algorithm showed an irrelevant item, so it felt insulted and wanted revenge.
The thermostat turned itself down after I complained. It must resent the way I spoke to it.
A similar case that can be sound
The writer says the thermostat “wants” to maintain a temperature and explicitly uses that as shorthand for its programmed target.