techinally yes divorce is a sin.

but in your situatio you described, id say bob did not sin. because he wasnt the one who wanted the divorce.