וַיִּרְאֶ֣הָ יְהוּדָ֔ה וַֽיַּחְשְׁבֶ֖הָ לְזוֹנָ֑ה כִּ֥י כִסְּתָ֖ה פָּנֶֽיהָ׃
Y vióla Judá, y túvola por ramera, porque había ella cubierto su rostro.
Rashi
ויחשבה לזונה AND HE THOUGHT HER TO BE AN HARLOT, because she was sitting at the cross-roads.
Chizkuni
ויחשבה לזונה כי כסתה פניה, “he assumed that she was a harlot because she had covered her face.” She had only done this when he was approaching, in order that he could not recognise her. The letter ח in the word ויחשבה, is vocalised with a semivowel sh’va.
Da'at Zekenim
ויחשביה לזונה, “he considered her as a harlot.” Why should Yehudah have cared? He turned around to resume on his way to the shearing. However, Tamar raised her face to heaven to pray and ask G–d why she should not be able to give birth to a worthwhile and intelligent son from the semen of such a righteous man as Yehudah. Upon hearing her prayer, G–d immediately dispatched the angel Michael who made Yehudah have second thoughts and turn around. The Torah here wrote: ויט אליה, “he turned to her,” and we find the same expression in Numbers 22,33 where it is written of Bileam’s she-ass: ותט לפני, “she turned around before me;” (the angel speaking to Bileam) in both instances the angel Michael was the subject. (subject discussed in B’reshit Rabbah 85,8)