Why her apology sealed her resignation