Both die of gunshots, but this refers also to the specific death of the "Capataz," Nostromo's idealized former self. See "The Capataz is undone."