In Morocco and in like any other country, tourists should respect local customs. If you go to Morocco during the period of Ramadan for instance, be careful not to consume alcohol in public. It is also recommended not to drink, eat and smoke in public, or at least with discretion, especially in less touristy areas.