Why can you not castle while in check?

Why can you not castle while in check? Because castling is a defensive move, you shouldn’t be able to avoid a threat with it. the king is pretty slow, so if he ever moves into check he will be shot down, so he needs to be careful how he hides in his castle. when in check, he kinda gets scared and forgets about castling.

Because castling is a defensive move, you shouldn’t be able to avoid a threat with it. the king is pretty slow, so if he ever moves into check he will be shot down, so he needs to be careful how he hides in his castle. when in check, he kinda gets scared and forgets about castling.