In this position, the king is protected by the rook. King's cannot take protected pieces/make a move that would put them into check. ...
https://www.chess.com/terms/chess-king
"When a king is attacked, it is in check. A king cannot move into check (that is considered an illegal move),"
In this position, the king is protected by the rook. King's cannot take protected pieces/make a move that would put them into check. White's king is under no threat as it cannot be taken, therefore it is not in check.
If the black king cannot attack a protected piece(which happens to be the king), why can't the white king go here?
Sorry if this is a stupid question, I am just interested as to why this isn't the case.