Robert F. Kennedy Jr. accused his department's top communications official of quitting to avoid being fired.