Elliptic equations in divergence form, geometric critical points of solutions and Stekloff eigenfunctions