You should apologize only if you have done something wrong.
According to the provided reference:
apologies are only needed when you have done something wrong. That's it. Not when someone's mad at you for no reason, and not when you want to take the blame just to diffuse a confrontation. When you've messed up and if you've hurt someone, that's when you should apologize.
Therefore, to determine whether or not you should apologize, consider the following:
-
Did you do something wrong? Review your actions and determine if you made a mistake or caused harm.
-
Did you hurt someone? Even if you didn't intend to, if your actions caused someone pain (emotional or physical), an apology might be necessary.
If the answer to either of these questions is "yes," then you should apologize. If not, an apology is likely not necessary.