Does anyone understand the different match scoring in a tournament

Don’t understand how a player wins in some of the formats. A match might be played where one player wins the first two games to 11, then the other player wins a third game to 15 and wins the match, though he/she lost the first two games. In another tournament one player won the first game 11-6 and the other player won second game 11-9, yet won the match. No third game. Can’t understand why a simple 2 out of 3 is not used in tournaments. Anyone understand the logic?