What were the driving forces that led to it, what were the mechanisms that enacted it, and what were the stated rationales for it?
Adultery is still recognised as a fault factor in divorce that facilitates legal consequences in a civil context.
So why not recognise the other side of it as a tort in itself when it is seen elsewhere by the law to cause genuine harm ?