The president and former law enforcement and intelligence officials are trading Twitter insults, turning a conflict that would have once stayed private into a public brawl.