The product of $2$ orthogonal matrices is an orthogonal matrix and the determinant of an orthogonal matrix $= +1$ or $-1$
${\begin{vmatrix} A &O \\ O & B \end{vmatrix}} = |AB|=1$
So this means ${\begin{pmatrix} A &O \\ O & B \end{pmatrix}} $ is also an orthogonal matrix.
Hence $B.$ is correct answer.