The same written form «huwa» can have different grammatical functions. In هُوَ قَائِمٌ, it is itself the subject of a nominal predication. In زَيْدٌ هُوَ الْقَائِمُ, Zayd has already appeared and «huwa» may function as a separating pronoun.
ConstructionRole of «huwa»
هُوَ قَائِمٌThe nominal subject (mubtadaʾ)
زَيْدٌ هُوَ الْقَائِمُThe characteristic separating-pronoun use
The word form alone cannot decide the analysis. Its placement and relation to what precedes and follows it are essential.