The vertical through-hole orientation keeps the mated wire-to-board assembly perpendicular to the PCB, which suits compact enclosures where the cable exits straight up.
How the 4-position compares to the 6-position sibling
The 6-position variant (3-794680-6) shares the same 3.00 mm pitch, shrouding, locking ramp, board lock, and tin-plated contacts.
