User blog comment:B214/Question and Answers 6/@comment-24098614-20161024211044/@comment-26821288-20161025161236

Because that's not castling. Castling isn't King and Rook switching places, it's moving the King and the Rook much closer. Well, that's the gist of it.