The moment you say "but," the apology dies. A "but" is a justification in disguise. "I’m sorry I was late, but traffic was terrible."
Show them you actually understand why they are upset. This is the "empathy" phase.
"I am sorry that I spoke to you disrespectfully." (This owns your behavior). 2. Skip the "But"