ok but white started at the top of the board so the white pawn doesn't check the king because like iduno999 said the white pawn is advancing downwards