Equivocation
In logic, equivocation ("calling two different things by the same name") is an informal fallacy resulting in the failure to define one's terms, or knowingly and deliberately using words in a different sense than the one the audience will understand.
It is a type of ambiguity that stems from a phrase having two or more distinct meanings, not from the grammar or structure of the sentence.