We provide that feedback if the candidate asks for it. In engineering or any other role (product, project management etc...).
It's never comfortable, but it's something that I think you deserve to get.
Just as a side note, I think a lot of people know why they were rejected. It's rare that people think the interview went great and they still did not get an offer.