During the trial, the courtroom came to a stop after learning Trina had an alibi all along.
By doing so, she risked getting a guilty verdict (viaSoaps.com).
However, the actual source of tension between them has been his lies and connection to Esme.

How could Spencer hide his disdain for Esme for months, and why didn’t he come forward sooner?
Surely, Trina has a lot of animosity built up toward him.
Sadly, fans didn’t see Trina lay into him, but evidently, it almost happened.

so excited to prepare it.
It was a moment where I felt like it wasn’t necessary, though.
After you really look at it and you really see everything, it wasn’t necessary."