Regardless of legality, I think some properties may be concerned just for the comfort of their guests. For example, if you spark-up in the middle of a crowded restaurant, some guests might might complain as it can disrupt their meal.

However, in my experience, this is not a problem in the majority of open air restaurants, as long as other guests aren't right on top of you.