HOW IS THIS EVEN POSSIBLE?!?!?!?!?!?!?!?!

I don't even think I played this hand well, but whatever I can't really analyse right now.
Poker Stars No-Limit Hold'em, $0.25 BB (6 handed) - Poker Stars Converter Tool from FlopTurnRiver.com
SB ($28.52)
BB ($31.63)
Hero (UTG) ($25.35)
MP ($37.80)
CO ($16.65)
Button ($25.56)
Preflop: Hero is UTG with 8
, 8
Hero bets $0.75, 1 fold, CO calls $0.75, Button calls $0.75, 2 folds
Flop: ($2.60) 2
, 7
, 7
(3 players)
Hero bets $1.50, 1 fold, Button raises $3.50, Hero calls $2
Turn: ($9.60) 9
(2 players)
Hero checks, Button checks
River: ($9.60) 8
(2 players)
Hero bets $7, Button raises $21.31 (All-In), Hero calls $14.10 (All-In)
Total pot: $51.80
AND MANY MORE