A senior Pentagon official is no longer with the Department of the Navy after he was secretly filmed criticizing President Trump.