1. Loan closing costs: you lender sets some of these, pre-paid cost of insurance and taxes are a part, and others are charged by the appraiser, surveyor and so on.
2. Home purchase closing costs: Home inspection fees, title company closing fees, title insurance, and other fees are set by third third parties. The responsibility for each fee is usually a matter of custom and negotiation between the buyer and seller.