Even if you do not believe you were wrong, you can apologize for the hurt your spouse feels or for the unintended consequences of your actions.
حتى لو اعتقدت انك غير ملوم ،‏ فاعتذر له على ما سبَّبته من اذى ،‏ سواء عن قصد او غير قصد .‏