The deeper reason lies in the fact that angular momentum is the generator of rotations. To understand this conceptually, we can think of objects with angular momentum as being capable of rotation, much like objects with linear momentum are capable of translation (therefore momentum is the generator of translations).
Another fact is that if $A$ is a hermitian operator, then $e^{\mathrm{i}A}$ is an unitary operator. When applied to rotations, the exponent should be propotional to the rotation angle $\theta$. The rotation operator $R(\mathbf{\hat{n}}, \theta)$ should be equal to $e^{\mathrm{i}K\theta}$. Based on the previous statement, $K$ should be the angular momentum operator $J$, or more generally, $\mathbf{J} \cdot \mathbf{\hat{n}}$, which is the generator of rotations. If you find the above reasoning difficult to understand, there is a good alternative way to look at it! In the exponent $\mathrm{i}K\theta$, $K$ is treated as a constant with respect to $\theta$, meaning it is independent of the rotation angle $\theta$. The key idea is that $K$ is conserved under rotation. In this sense, $K$ corresponds to the angular momentum $\mathbf{J} \cdot \mathbf{\hat{n}}$ along a specific direction, which is conserved in rotations around that axis.
The complete expression is:
$$
R(\mathbf{\hat{n}}, \theta) = \exp \left( -\frac{\mathrm{i} \mathbf{J} \cdot \mathbf{\hat{n}} \theta } { \hbar } \right)
$$
where the factor of $\hbar$ in the denominator is introduced to ensure that the exponent is dimensionless.
In the case of a two-dimensional space, where the vector is two-component, the angular momentum operator $J$ becomes the spin operator $S$. The spin operators $S$ can be represented using the Pauli matrices.
$$
\mathbf{J} = \mathbf{S} = \frac{\hbar}{2}\boldsymbol{\sigma}
$$
Thus, the rotation operator in 2D can be written as:
$$
R(\mathbf{\hat{n}}, \theta) = \exp \left( -\frac{\mathrm{i} \boldsymbol{\sigma} \cdot \mathbf{\hat{n}} \theta } { 2 } \right)
$$
If you want to learn more about the details of generators, you can refer to J. J. Sakurai's Modern Quantum Mechanics.