Verbs that govern nominal sentences
كان (was) introduces a nominal sentence; the predicate becomes accusative.
كان keeps its subject (its 'noun') nominative and makes its predicate (its 'khabar') accusative.
Verbs like أصبح، صار، ليس، ظلّ، ما زال behave the same way.