That sir is how to get maximum amount for your hand...i bet you would have pushed all in after the flop and scared him off. When he raises preflop and you call and then you lead out the min and he only calls without reraising you know he has a hand since he wants the action and if he reraises might scare you off. Good playing on his part