The Lorentz force on a charged particle moving in a magnetic field is given by the equation:
\[
\vec{F} = q \left( \vec{v} \times \vec{B} \right)
\]
where:
- \( q \) is the charge,
- \( \vec{v} \) is the velocity of the particle,
- \( \vec{B} \) is the magnetic field.
Given:
- The particle moves along the \( y \)-axis, so the velocity is \( \vec{v} = v_y \hat{j} \),
- The magnetic field \( \vec{B} \) is along the \( x \)-axis, so \( \vec{B} = B_x \hat{i} \).
Now, applying the cross product:
\[
\vec{F} = q \left( v_y \hat{j} \times B_x \hat{i} \right)
\]
Using the right-hand rule for the cross product \( \hat{j} \times \hat{i} = -\hat{k} \), we get:
\[
\vec{F} = -q v_y B_x \hat{k}
\]
This means the force is acting along the negative \( z \)-axis.
Hence, the correct answer is:
\[
\boxed{D} \text{ negative z-axis}
\]