Let $V,W$ be finite-dimensional vector spaces of a field $F$ equipped with non-degenerate symmetric bilinear forms $\langle \cdot,\cdot \rangle_V$ and $\langle \cdot, \cdot \rangle_W$. We call a map $f : V \to W$ orthogonality-preserving if $$\forall v,w\in V: \langle v,w\rangle_V = 0 \implies \langle f(v), f(w)\rangle_W = 0.$$ Note that $f$ is not required to be linear.
I wonder if for a bijective orthogonality-preserving map also the direction $\Leftarrow$ is true.
For general orthogonality-preserving maps this property is clearly wrong, a counterexample is given by the all-zero function. But for bijective maps, I could not find a proof neither a counterexample so far.
Comment. I opened a new question for the situation $V \to V$, where the easy counterexample in the answer below is not possible.