Because it is against the rules of chess. According to the rules the king cannot be captured or killed.