Laconic / Idiot Ball

A character who is at least competent starts acting stupid for the plot.
Duh, see the long one, der... HERE.

http://tvtropes.org/pmwiki/pmwiki.php/Laconic/IdiotBall