Yes. It can be confusing. The computer is trying to answer a wildly complicated question.
The computers gave two different lines after castling. The position is only at move 8 in an opening (Caro-Kann) which is still very complicated when you attempt to look out more than a few moves.
The descriptive evaluations (good, mistake) look at the change in estimated winning chances. (This is somewhat involved. You should read the Help topic on it. https://support.chess.com/en/articles/8572705-how-are-moves-classified-what-is-a-blunder-or-brilliant-etc. )
They show two different depths of search. (24 ply on one; 26 on the other) One shows Stockfish 17. The other doesn't show what engine is used.
One retreats a bishop to e3 after the bishop is challenged with h6. This results in a plus 1.04 evaluation.
The other trades the bishop for a knight on e7. This line results in the +1.55 evaluation.
I can't see beyond the first several moves but I would attempt to get the same evaluations and follow the shown lines to see what the computer was looking at.
As a beginner, which analysis is better to use for reviewing my games? When I use the analysis view, it shows castling as a good move, but when I check the review, it says it’s a mistake. I’m a bit confused