Theoretically, you would blame the author or writer in every situation where a character makes an illogical or irrational decision. In motion picture narratives, you could blame the director, since there is an additional editor between the source material creator and the audience.