The replay wasn't what happened at all

I won a game. Went to watch the replay to see a mistake I made. The replay showed very similar gameplay but the ending wasn’t what happened at all. I won 1-0 but it showed me losing a tower and not getting one and losing the match. I got the win and the trophies but thought this was weird. Anyone ever have this.

type or paste code here

These issues usually happen when the client gets out of sync with Supercell’s servers, although in recent months it has also been caused by game engine problems.