I dont think he played them that bad. Its would be hard to read that you hit tp on the flop. So he reraised to get information. On the turn he probably put you on trip 10s, so he checked it to you. But on the river, going AI was a mistake, I dont know what he was thinking. He was probably sick of being sh and tried to bluff you out of it (as weak of a bluff as it is). His only bad play was on the river.