Logical thinking is for humans what command execution is for computers: a correct sequence of conclusions, decisions or events.
But the logic of programming is not everyday knowledge. Nor is the practice of logical thinking in every school curriculum.
We therefore have to learn the hard way which cause creates which effect – whether in science, finance, economics, human behaviour, human communication or computer execution…