Wrong.
The lawyer’s fees are payable by the customer, in most cases.
However, the bank never asks a customer to collect the report and pay the lawyer directly. They deal with the lawyer and then debit the customer’s account for paying the lawyer’s fees.
Now, a lot of banks have Home Loan Campaigns where they “waive” these fees, but in reality, they’re paying the lawyers out of their own profits. Technically it’s free for the customer that way. So maybe OP took a loan during such a campaign period, or had some kind of special benefit salary/saving/current account with said bank that made him eligible for the fees being waived.