What does gourmet mean?

Why would any society make high quality, delicious food for some people, and low quality, not-delicious food for others?