The evil queen cast a spell on the princess that made her look completely different and nothing like she used to be. Therefore, the king did not recognize her.