Is there a term for ambiguity coming from a modifier modifying multiple parts of a sentence?

Solution 1:

These are called squinting modifiers

A squinting modifier is one that could modify either the word(s) before it or after it (i.e., it is ambiguously positioned in the sentence.) It is a "misplaced modifier."