A former political rival of Nicola Sturgeon has described commentary on Nicola Sturgeon’s divorce as “disgusting” and “unkind”.