In an extreme example, a child's troubles could have nothing to do with the breakup of a marriage and everything to do with inherited personality traits.
(a child's troubles; could have; nothing to do with the breakup of a marriage and everything) (nothing; to do; with the breakup of a marriage and everything)
a child's troubles nothing
could have to do
nothing to do with the breakup of a marriage and everything
with the breakup of a marriage and everything