Molex SL series, TE MTE series, etc. have all the combinations.
Similarly, you can use polarized male and female double-row headers, both of which exist for PCB and wire mount, allowing all combinations.
In the Chinesium world, the clones of the Molex KK series (typically sold as KF2510) have male wire terminations that Molex never made, making it a wire-to-wire, board-to-board, and wire-to-board system. Molex makes board-to-board and wire-to-board connectors in the KK series. .
Similar with JST XH: the clones have male crimps never present in the original. I think the 2mm pitch JST PH also has clones with male wire crimps. (It’s a pity there’s no PCB version of JST SM, a wire-to-wire system.)