The same thing may have all the kinds of causes, e.g. the moving cause of a house is the art or the builder, the final cause is the function it fulfils, the matter is earth and stones, and the form is the definitory formula.
Aristotle, (2014). “Complete Works of Aristotle, Volume 2: The Revised Oxford Translation”, p.1574, Princeton University Press