President Trump said Bolton would be breaking federal law if his book is published in its current form.