According to theAndrea Falcon's SEP article, "Aristotle on Causality", this was first tackled by Aristotle in his four-fold theory of causation; he recognisescausation. Aristotle recognized that the theory of causation he had inherited typically distinguished two types of cause: material and efficient and thus he needsneeded to justify his introduction of final cause, which he doeswhich he did:
In Physics II8,II 8 contains Aristotle's most general defense of final causality. Here Aristotle establishes that explaining nature requires final causality by showingdiscussing a difficulty that may be advanced by an opponent who denies that there are final causes in nature. Aristotle shows that an opponent who claims that material and efficient causecauses alone sufficessuffice to explain natural change fails to account for their *characteristic regularitycharacteristic regularity.
Since in the world there are many things occurring at once; andonce, sometimes in one way, and at other times in another;another, the neccessarynecessary character can sometimes be difficult to discern; onediscern. One might speculate this was why astronomy was seen originally as the science par excellanceexcellence that reveals the hidden order as the stars move to the music of the spheres - in. In fact we only need look up at the sky to observe this, and see it directly as theatrea theater of permenancepermanence, in contrast to the earth where all things are subject to change: coming to be (genesis) and passing away (phthora).
Of course, on the cosmological scale the heavens are as subject to change as much as all on earth are;are, but this is to our senses magnified by both the instruments of our practical and theoretical sciences; onsciences. On the human scale - that which we see directly by our own eyes - this distinction remains: and then. Then one can ask: is this regularity, this permanence that we see in the skies - the stars in their courses - is this illusionary or real; orreal? Or, more deeply, reflectsdoes this reflect something real.?
In AristotlesAristotle's language, Hume showsshowed that causality is a form of regularity, whose regularity needs explaining; forexplaining. For Hume this was the mindsmind's habit of regularisingregularizing.
Kant replacesreplaced this habit by what he callscalled a transcendental argument: arguing from what is, to what the conditions must be to make this possible.
But given AristotlesAristotle's thesis that such an explanation of the regularity found in nature is a final cause, it's an intriguing question whether Hume or Kant regarded it as such.
Falcon, Andrea, "Aristotle on Causality", The Stanford Encyclopedia of Philosophy (Spring 2015 Edition), Edward N. Zalta (ed.), URL = https://plato.stanford.edu/archives/spr2015/entries/aristotle-causality/.