وَقَدْ يُخَصُّ الْأَوَّلُ بِاسْمِ التَّعْلِيلِ، وَالثَّانِي بِالِاسْتِدْلَالِ
The first may be called explanation through a cause, and the second inference from an effect.
One may move from a cause toward an anticipated effect, or infer a cause from its observed effect. A fire and smoke illustrate the two directions, but each concrete case requires a warranted causal connection.
Acquired knowledge is broader than formal syllogism; observation, experiment and chosen inquiry also play a role. Yet performing an intentional act does not by itself guarantee certain knowledge.