Ahmad al-Sharaa, the country’s new leader, had declared that the authorities would "absolutely not allow there to be weapons in the country outside state control."