I solved the question, I'll leave the answer for reference.
The answer is yes for the first question and no for the second. Consider the tangent bundle of $T^2 \times S^2$, which is trivial. $T^2 \times S^2$ contains tori of nonzero self-intersection number. Pick one such torus, say $Y$, and let $E \rightarrow Y$ be the restriction of the tangent bundle of $T^2 \times S^2$ to $Y$. This is a rank $4$ trivial vector bundle over a torus, and it decomposes as $E = TY \oplus NY$, where $TY$ is the tangent bundle and $NY$ the normal bundle. Since a torus is parallelizable, $TY$ is trivial, so we are in the situation of the second question above. However, $NY$ is not trivial, since its Euler class coincides with its self-intersection number, which is nonzero.