Why Muslim countries are called gulf countries?

They are not. Countries located beside the Persian Gulf are often called Gulf Countries.