The firings have raised alarm at a time when the U.S. is engaged in conflict and in need of experienced military judgment.