More below...Some conjecture suggests that these are Ottoman or Moroccan but they could easily be both ...spoils of war perhaps... I can imagine the flask being plain in the hands of the original Ottoman owner but later hand carved by the new Moroccan owners in the typical decorative style of wood carving of North African form.
The plain flask below said to be Ottoman whilst the carved Flask described as Moroccan.