Yeah, it's called tiebreaks. 1st place had better tiebreaks than you did, 3rd has worse.
https://support.chess.com/customer/en/portal/articles/1444840-what-happens-when-there-is-a-tied-score-and-what-is-the-tie-break-
That is about Daily but the same process is used in Live
I've just finished a tournament and weird thing which I can't understand how it works.
I scored 6 points out of 7 rounds (2nd place, silver medal)
Someone else scored 6 points out of 7 rounds (1st place, gold medal)
Someone else scored 6 points out of 7 rounds (3rd place, bronze medal ).
WTF !!?
Did you see what just happened?