Causal Understanding by LLMs: The Role of Uncertainty