Ed makes no secret of his intention to kill Bert for marrying the girl Ed wanted. So when Ed is the one who turns up dead, folks assume that Bert did it.