First the husband tried to make the wife his possession, and once she is a possession he loses interest. There is some hidden logic in it: his whole interet was to possess; now that is finished, and he would like to try some other woman so he can again go on another trip of possesion.
What is the difference between a prostitute and a wife? One is a temporary arrangement, the other is a little more permanent. Marriage is a permanent kind of prostitution; deep down, it is not different. Hence marriage and prostitution have both existed together.