First of all, when someone apologizes, it's a polite social behaviour that people quite appreciate. Second of all, saying “I'm sorry” is often about recognizing your mistake, and telling people what you learned and what you are going to do so it doesn't happen again.
On November 30th, 2020. See this statement in context.