Here's why:
* Greeting: It's a polite expression used to acknowledge someone at the start of the day.
* Phrase: It's a group of words that function as a single unit, but doesn't contain a subject and verb.
You could also consider it a fixed expression, meaning it's a commonly used phrase with a specific meaning.