It was the same at the restaurant at the 4 Seasons here in Doha.

It's to stop people who don't wouldn't get into a bar just going to a restaurant to drink and not order food.

It's perfectly normal, and it isn't the hotel's own rules. These sorts of rules are imposed by the government.