REUTERS/Joseph Okanga
The Maersk Alabama was docked near an island northeast of Madagascar. The former SEALs were working as security contractors on the ship.
"Captain Phillips" depicted the 2009 hijacking of the Maersk Alabama off the coast of Somalia.
Seychelles, where the ship was docked Sunday, is near the Horn of Africa, a dangerous passageway for merchant ships, according to Fox.
Police are investigating the deaths, according to CNN. The two SEALs were part of a 24-member crew.