You played it poorly before the flop. He played it poorly after the flop. After the flop, you had about 70% equity, and he sucked out. It happens alot.