Remember that maximum height depends on the vertical component of the initial velocity squared. So, if angles are complementary, say $\theta$ and $90^\circ - \theta$, $\sin^2\theta$ will be different from $\sin^2(90^\circ-\theta) = \cos^2\theta$. This problem highlights the direct dependence on the square of the sine of the angle.