Either he's a bad player (very possible) or he's kind of devious and wants to set himself up for a good-sized takedown on the river. It's more common to bet or raise when the flush draw first shows up - this line is a little weird, but all the more difficult to read because of that fact.