Thus, when it comes to doing something they seem to know the mind of their god, but when something goes awry, or is clearly nonsensical, then it becomes a divine enigma that is not ours to understand. Conveniently.
Precisely.
Holier-than-thou-ism is also a powerful motive for religious-superstitious power-dominance-patronising fantasies. Tweak them a little, and the masks slip off.
This claim is quite meaningless without concrete examples.