Retirement tax questions

Sadly this is taxable to you  ... for it to be taxable to the EX the court had to issue a QDRO and the IRA custodian  would have rolled that amount into an IRA for the spouse and if they choose to to take a distribution then they are on the hook for the taxes.