This is a copycat version of the OG's example given below.
Defense attorneys have occasionally argued that their clients’ misconduct stemmed from a reaction to something ingested, but
in attributing criminal or delinquent behavior to some food allergy, the perpetrators are in effect told that they are not responsible for their actions.
(A) in attributing criminal or delinquent behavior to some food allergy
(B) if criminal or delinquent behavior is attributed to an allergy to some food
(C) in attributing behavior that is criminal or delinquent to an allergy to some food
(D) if some food allergy is attributed as the cause of criminal or delinquent behavior
(E) in attributing a food allergy as the cause of criminal or delinquent behavior
Answer B
In the given example of parents and children, if you say 'in attributing …', then the prepositional modifier should be immediately followed by the attributors namely 'the parents' and not 'the children' as the choice reveals. That is why B is faulty.