Ductile iron pipe offers a great deal of versatility, security, and decades of usage/experience for such installations. In some cases standard, push-on restrained or unrestrained joint pipes can be installed in a trench with pipeline profile that should remain undisturbed and below future scour depth of the waterway. With this type of piping and joints it is generally also best if flow can be diverted or temporarily dammed, and the joints assembled and firmly backfilled "in the dry".
"Ball joint" ductile iron piping on the other hand offers great strength, damage resistance for unseen marine conditions, extremely flexible restraint that does not necessarily require dewatering or flow diversion, and this specialized type of piping often allows rapid and secure installation in much lesser conditions than standard pipes. Ball joint pipe can also be installed by a wider variety of methods including pulling/dragging from banks, float and sink, installation from barge ramps, installation by divers, just assembled like other pipes, and/or is also sought out in general applications for increased seismic movement/settlement abilities etc. (all though at increased material/manufacturing costs for this more specialized pipe).
In the last 10-15 years, there have also been increasing applications of contemporary boltless, flexible restrained joint ductile iron pipes (with sufficiently strong, flexible, and low profile restrained joints available from some manufacturers) for pulled horizontal directional drilling, as well as these or other specialized joint ductile iron pipes designed for trenchless pipe jacking, microtunneling, and other pipe pushing applications. While the strength, toughness, and flexibility of ductile iron pipe is perhaps equally advantageous in these out-of-sight installations/conditions with unknown bedding represented by underground pulls or pushes, it can be be overall less costly to "open cut" in some cases (as another poster has stated), even with the more expensive ball joint piping.
There is more detailed information available from the Ductile Iron Pipe Research Association (dipra.org) and ductil iron pipe manufacturers with regard to such specialized applications.