Officials linked the state of emergency to the proliferation of illegal, high-powered firearms in the Caribbean nation.