the Rephaim ... the Zuzites ... the Emites
These are the names of people groups.
Ashteroth Karnaim ... Ham ... Shaveh Kiriathaim
These are the names of places.
Ham
This name in Hebrew is different from the name of Noah's son, which is spelled the same way in English.