It's important to ask candidates about their beliefs in part because politicians frequently exploit religious faith - often with the idea that voters will be more likely to unthinkingly accept certain political positions so long as they arise from religious belief.
Best to live lightly unthinkingly.