my question is how come bellum is in the genitive case
“bellum” is actually in the accusative case (2nd declension, neuter). “Bellum” is receiving the action of the townsmen so it takes the accusative. “Parant” already has the sense of “for” built into its meaning so there is no need for the dative case.