Very good point. I missed that the first time, but by check-raising you made it 'easy' to be called. Guy bets you raise he only has to bet a little more. If you are allin off the go he may not call a larger amount with nothing invested. But you were short stacked and he would have called hoping to hit the flush anyway. Once you were in that hand you were doomed.
The second hand I enjoyed reading both of the sides to the story.