You see that Marilyn's answer contains the clarified correct specification ("the host, who knows what’s behind the doors and will always avoid the one with the prize..."), but the question does not fully specify it.
Thus, ignoring the clarification in the answer (which furthermore pertains to a modified problem), one could interpret the question differently: the host randomly opens a door [0], this specific day it happens to contain a goat, should you switch?
And that ambiguity has given rise to so much spilled ink (and, by the way, the misconception that statistic professors don't understand probability theory).
[0] Note that specifying that the host knows what's behind what door doesn't help. They could still pick a door randomly.