Here's why:
* Phrase: It consists of two words working together to convey a single idea.
* Interjection: It expresses a strong emotion (gratitude, in this case) and is used independently of a sentence.
While "thank" is a verb and "you" is a pronoun, together they form a unique expression that stands alone.