it sounds like they consider a male seahorse a male because he produces sperm rather than eggs.
The female seahorse drops her eggs off into a male brood pouch, a little pocket the male seahorse has on the front of him that has a placenta in it, and then he fertilizes those eggs and carries the fetuses for a few weeks and then little seahorses flutter out when he gives birth.
there's a video. and it's a LOT of baby flutterhorses
Usually animals are categorized as male and female based on what type of gametes their gonads produce. So male sea horses produce sperm.
Not sure how to count the "pregnancy" though, as these are fish and because of the following:
The male seahorse is equipped with a brood pouch on the ventral, or front-facing, side of the tail. When mating, the female seahorse deposits up to 1,500 eggs in the male's pouch. The male carries the eggs for 9 to 45 days until the seahorses emerge fully developed, but very small. The young are then released into the water, and the male often mates again within hours or days during the breeding season
Except that in cangaroos the mother actually needs to be pregnant and birth its babies first. In sea horses the female directly lays the eggs inside the pouch of the male, impregnating it, and the male then undergoes pregnancy. So actually very different to kangaroos?