And I will hide, I will hide My face on that day. (Deut. 31:18)

Why the repetition —the double hiding?

The Baal Shem Tov explained:

Sometimes G‑d is hiding.

Sometimes G‑d hides that He is hiding.

It is then that people believe the darkness is light and the light is darkness, that bad is good and good is bad.

Toldot Yaakov Yosef, Breishit. Likutei Sichot vol. 9, p. 193.