This can be due to side effects of medications.
Many patients look “beat up” and feel physically unwell after surgery.
It could be due to hormonal treatment especially Sexual Reassignment Surgery.
Surgery for a “sense” of loss and grief is high for depression.