Fault principle and divorce
Since marriage is a contract, you can get out of it if both agree to dissolve the contract. This is called “by mutual consent”. However, if only one person wants out of the marriage rather than both, you can make a petition for divorce if you can accuse the other