In Mark’s gospel she was a Syro-Phoenician woman. Matthew has changed her into being a Canaanite woman. That shift is significant because the term “Canaanite” carried so much more …
The audience for which Matthew wrote was conversant with the Jewish Scriptures, so when he mentions Tamar in the genealogy, they would know her story. The Torah (Genesis, Exodus, …