Yes, this is math strategy.
The first clause “We realized that John was still young and impressionable” is a positive. The conjunction “but” tells us there is a contrast between the first clause and the second clause. Since the first part says that John is malleable (flexible to change or new ideas), then the author must be surprised at his inflexibility (or (B) obstinateness)).
I hope that helps!
