There's nothing wrong preflop, or even on the flop - look how deep the stacks are.

The turn is an absolutely horrible card. You did the beginner move of "look I rivered two pair, let's disregard the board and raise because... well it's 2 PAIR!!!!"

Stop and think - if you raise here, what is your opp going to do? If he has a straight he reraises and you are screwed, if he is bluffing, he folds and your raise gains you nothing, the only time this raise is gaining you value is if you get a worse hand to call. That is going to be so infrequently here that a call is really your best play.