Whenever someone takes out a mortgage to buy a home the buyer of the home is the one responsible for paying the closing cost when you purchase the home through a mortgage or through cash sale.
Now on VA loans sometimes the buyer will pay the closing costs and other times if the Veteran receives enough lender or seller credits that could cover the closing costs on the VA loans.
If the Veteran doesn't have enough lender or seller credits then the Veteran "the Home buyer" will have to pay closing costs.
During all home purchases the buyer is the one who's responsible for paying the closing costs.