は has two distinct usages. One is to mark the topic of the sentence. The other is to mark the subject of the sentence with a contrastive connotation.