Answer
Mattis resigned as Secretary of Defense over a dispute with President Trump over troop withdrawal from Syria. Mattis believed that the withdrawal would be a mistake, and he was concerned that it would embolden Iran and its proxies in the region. He also believed that the withdrawal would send a message to allies that the United States was not reliable.