The stiffness matrix in FEM depends on:

Explanation:
It depends on both material and geometry.