U.S. Ambassador to Japan William Hagerty is resigning this month after two years in office, the U.S. Embassy said on Tuesday.