Why do I have to pay the court costs when the other party filed the case?

If the parties did not agree upon who will pay the court costs, the Chancellor or Judge will assess them in the final order as either to the Petitioner, to the Respondent, split between the parties, or in rare cases, the costs will be waived.