An apology that begins with “I’m sorry if you were somehow hurt by my actions” is a failure to take responsibility and admit fault. It’s not an admission that the behavior was wrong; it’s an implication that the person offended is overreacting.
and yet, a very common apology mistake!