What kind of fish one eats depends on many factors: what is available locally, society's habits and culture, upbringing, and personal taste.
For me, grouper is a good fish to eat, available in both the Mediterranean, where I was raised, and the Red Sea. Therefore, grouper was the kind of fish I was after the most when spearfishing. Several types are native there.
The Hamoor هامور is the Greasy Grouper, and is a commercial fish, good to eat.
The Najil ناجل is the red colored grouper, and is the most expensive fish in Saudi Arabia. I never caught one of those, since they live in deep water. I saw one at the reef edge coming up to a cleaning station that the cleaner wrasse establishes.
As the months and years progressed, one got to experiment with new types of fish that he is not used to. Either I found them in the fish market, so I was sure they were edible, or they belonged to a family of fish that are edible.
Even the said to be poisonous puffer fish was found to be edible, and tasty too.
Many species available in the fish market are not available in reefs, since their habitat may not be caves.