The vector from \( B(3, -4, 7) \) to \( A(2, -3, 5) \) is calculated as \( \overrightarrow{BA} = (x_2 - x_1)\hat{i} + (y_2 - y_1)\hat{j} + (z_2 - z_1)\hat{k} \), where \( (x_1, y_1, z_1) \) are the coordinates of \( B \) and \( (x_2, y_2, z_2) \) are the coordinates of \( A \).
Substituting the coordinates yields: \[ \overrightarrow{BA} = (2 - 3)\hat{i} + (-3 - (-4))\hat{j} + (5 - 7)\hat{k}. \]
Simplifying each component: \[ \overrightarrow{BA} = (-1)\hat{i} + (1)\hat{j} + (-2)\hat{k}. \]
Therefore, the vector is expressed as: \[ \overrightarrow{BA} = -\hat{i} + \hat{j} - 2\hat{k}. \]
The resulting vector is \(-\hat{i} + \hat{j} - 2\hat{k}\), corresponding to option (D).