Topic A は + [predicate A] + が、Topic B は + [predicate B]
Note: が here functions as a conjunction ("but/however") between two contrasting clauses, each marked with は.
The は~が、~は pattern is used to contrast two topics in a single sentence. The first は introduces the first topic, が connects the two clauses with a meaning of "but" or "however", and the second は introduces the contrasting topic. This structure highlights the difference between two things, people, or situations.
The most common use is to state something about one topic and then contrast it with a different or opposite statement about another topic.
Notice how both は particles carry a contrastive nuance here. The first は already implies "as opposed to something else", and the second は makes the contrast explicit.
This pattern is very useful when describing how two people or things differ.
In casual speech, が is often replaced with けど or けれど.