Jesus ignored her because she was a Gentile, and His ministry was only to the nation of Israel.
Watch the Teaching: Did Jesus Ever Minister to Gentiles? What He Actually Said