Because the difference between the shareholders required rate of return (which is the same as the cost of equity) and the debt lenders required rate of return (which is the pre-tax cost of equity) is measuring the extra required for the degree of risk. To explain in more detail would require proving the formula, which is not required in the exam (and neither are you required to explain the formula, only to be able to use it).