Aparently because in one case you are making an entertainment product to sell to others.
The client of the prostitute is also being entertained.
Is entertainment of one somehow bad and entertainment of several good?