The king became very distressed when he heard what she asked for, because he knew John was a very righteous man (OR, because he now knew that he should not have made that promise to her). But he could not refuse what she requested because he had promised that he would give her anything she asked for, and because his guests had heard him promise that.