Let's break it down:
* in-: This is a prefix meaning "not" or "the opposite of."
* hospitable: This is the root word, meaning "welcoming" or "friendly."
* -able: This is the suffix, meaning "capable of" or "suitable for."
Therefore, "inhospitable" means "not capable of being hospitable" or "unwelcoming".