Indeed. "magical thinking" / superstition is certainly also part of it.
The reasoning of the children is actually rather diverse when they are asked why they went through the full series of actions.
Some merely pointed to the "authority" factor. "he told me to do it", while fully realizing half the actions didn't contribute to the end result.
Others assumed that the seemingly pointless actions weren't pointless and that they just didn't understand why they did it, but did it anyway "just to be safe". Also in part because of the authority factor. If the adult tells you to do it - surely that adult has some reason to?
The hilarious conclusion of it all was that we humans grow up to be so smart because we are actually dumber then chimps.
A chimp instantly understands half the actions don't contribute. He doesn't question why the "adult" goes through a series of seemingly pointless steps. Nor does he wonder. He just skips. "Give me candy, NOW!"
The chimp is certain of of his case that he doesn't need to go through pointless actions.
The human is not! The human wonders why the figure of authority does it and reasons: "
Surely there MUST be a reason! If I don't go through those actions, will I not get the candy? It seems I would get the candy though... but am I going to risk it? And is the leader going to get mad if I don't do exactly what he says? I'll just do the series exactly, just to be safe... that way I certainly get the candy and I won't anger the leader either!"
It's actually a minor psychological difference between humans and chimps. A minor difference, which has HUGE impact on how we grow up and how we accumulate knowledge. It also shows how easily humans can be tricked into blindly following perceived figures of authority.
EDIT: found a condensed version. this isn't the docu I saw, but it shows the same experiment.