Chess: Why don't they actually capture the king?

These threads look similar: