Maybe he thought you were bluffing, although to push over your large raise is a bit silly with 99, after a pre flop raise.
Oh well, you meet muppets occasionally, and in fact you should be thrilled that he did play like that, since you were 95% to win. You got your money in well ahead, and were unlucky with a bad beat, but it's players like him that make the game so profitable for us