Person B is
backstabbing Person A by delibratly releasing private information about Person A that Person A disclosed to person B with the understanding that the private information would not be shared.
Person A is backstabbing Person B by dating
Person B's spouse while Person B is married to them.