Dropping in column 2 both prevents X from creating a forced double threat with columns 2 and 6 on their next move, and also sets up a potential diagonal for O. If X then plays in column 5 to form three in a row (3,4,5), the column-2 spot is already taken by O, so they only threaten column 6 and can be blocked next turn.