Answer
Please see the work below.
Work Step by Step
We know that the horizontal images for $CODE$ are not changed but for the letters in $SECRET$, the letters $S$, $R$ and $T$ have inverted images. That is why $SECRET$ appears inverted while $CODE$ doesn't appear inverted.