The situation is that you correctly calculated a vector
$-3.25i + 0j - 0.25k$,
you correctly calculated the magnitude of that vector, but the
online assignment software said you incorrectly calculated the
direction of the vector.
The direction of the vector was requested as the angle from the
positive $x$ axis in the $x,z$ plane.
Conveniently, the vector already is in the $x,z$ plane.
And indeed, one step in finding the angle from the positive $x$ axis
in the $x,z$ plane is to take the component of $k$
and divide by the component of $i$.
To avoid confusion, I would call the component of $k$ the $z$ component, not the $y$ component. The formula $\arctan(y/x)$ really is meant only
for angles measured from the $x$ axis in the $x,y$ plane.
It's OK to memorize the formula that way, as long as you remember that if
you are in the $u,v$ plane instead, the formula needs to be
written $\arctan(v/u)$.
You then calculated that
$$
\arctan\frac{-0.25}{-3.25} \approx 4.40 \text{ degrees.}
$$
That is a correct statement, but it omits one very important fact about
the arc tangent. Notice what happens when we apply the formula
to a different vector, $3.25i + 0j + 0.25k$:
$$
\arctan\frac{0.25}{3.25} \approx 4.40 \text{ degrees.}
$$
Now consider this: if the direction of a vector $V$ is $4.4$ degrees
from the positive $x$ axis, that vector and the positive $x$ axis are
pointing almost in the same direction.
But the vector $3.25i + 0j + 0.25k$ is exactly opposite the
vector $-3.25i + 0j - 0.25k$:
$$
-3.25i + 0j - 0.25k = -(3.25i + 0j + 0.25k).
$$
So those two vectors should be pointing $180$ degrees away from each other.
How can both of them be only $4.4$ degrees from the positive $x$ axis?
The clue to the puzzle is that
$$
\frac{-z}{-x} = \frac{z}{x},
$$
that is, when we "flip" the signs of both $x$ and $z$, the ratio $\frac zx$
doesn't change at all, and therefore $\arctan(z/x)$ also doesn't change.
You get the same arc tangent for vectors pointing in opposite directions.
The fact is, just taking the arc tangent will sometimes give you the
correct answer, but only if the angle you need to calculate is
$90$ degrees or less. The arc tangent function will never give you a
result outside that range. But it is certainly possible to have a vector
whose angle from the positive $x$ axis is between $90$ and $180$ degrees,
or between $-90$ and $-180$ degrees (measured counterclockwise).
One way to fix this is to add or subtract $180$ degrees when you need the result to be outside the range $-90$ to $90$ degrees.
Compare your problem to the problem
in this answer,
where the vector had $x$ coordinate $x_1-x_0$ and $y$ coordinate $y_1-y_0$
and the problem was to find the angle in the $x,y$ plane.