The behavior of the villain caught my eye. He makes the minimum bet on the flop and calls. And then he plays a check-raise on the turn. I haven't seen your cards yet, but it felt like you were behind. The situation has changed. Based on the size of the pot on the turn and the sudden aggression of the opponent, you should already think about whether you are ready to call or not. Because there will be all in on the river. And so it happened. If you have repeatedly caught the villain on a bluff, then you can safely consider this possibility. It turned out that the villain had not only 2 pairs, but also a flush draw from the flop.
I decided to use a CardsСhat calculator. You were making a value raise, but the odds were already a little behind on the flop. It turns out that you underestimated the opponent's hand initially.
View attachment 346862