I think the opponent was just lucky you had a premium hand and nice flop. From the stats you gave they sound like a weak player.
You're bet was weak but against a weak opponent it usually works. The raise from your opponent should have been a good indicator that maybe it's a good time to keep the pot small or fold and wait for a situation where you can control the betting.