I do that all the time, even when I think I’m right or something needed to be said. I’m not always sorry for the act/ words, but I’m sorry for the feelings I may have hurt/ relationship.
I always said I wouldn’t lie for my friends or lie to them, so don’t ask if you don’t want the truth.
For me it’s that I just don’t like to hurt anyone, intentionally or not, we all have enough problems to deal with in life.