I have a similar question to this one:
Rotation of conics sections using linear algebra
Why does the orthogonal transformation preserve a conic (send it to a congruent conic), but other transformations only preserve the general shape of the conic (e.g send hyperbolas to hyperbolas but not congruent hyperbolas)?
$$ |v|^2=v^Tv;\quad |v'|^2=v'^Tv'=(Ov)^T(Ov)=v^TO^TOv. $$ Hence $|v|^2=|v'|^2$ if and only if $O^TO=I$.