Premise: He seemed to fluctuate between bitter sureness of doom and a stupidly optimistic belief that something could be done to avert that doom.

Hypothesis: He was only optimistic that something could be done to prevent the doom.
Relation: contradiction