Kumusta is the original form of this word. It becomes "kamusta" nowadays, just like Kamal have said, Tagalog language changes overtime. Just like "nakakapagtaka", it is originally "nakapagtataka", "makakapagtiis" from "makapagtitiis".. usually the word has the repeated part, and not the prefix.