Two of Twitter’s top executives are departing the company and a new CMO is on the way, sources tell Re/code.