In literary criticism, an idiot plot is one which is “kept in motion solely by virtue of the fact that everybody involved is an idiot”

See also the TV Tropes page.