Rescuers attempt attempt to push stranded whales back into the ocean at Ujong Kareng beach in Aceh province, Indonesia, Monday, Nov. 13, 2017. An official said 10 whales were stranded at the beach and attracted hundreds of onlookers who posed for pictures with them. (AP Photo/Syahrol Rizal)
Syahrol Rizal/AP
Rescuers attempt attempt to push stranded whales back into the ocean at Ujong Kareng beach in Aceh province, Indonesia, Monday, Nov. 13, 2017. An official said 10 whales were stranded at the beach and attracted hundreds of onlookers who posed for pictures with them. (AP Photo/Syahrol Rizal)
Now playing
01:12
Battle to save beached sperm whales
Fox News/Twitter
Now playing
01:33
ADL wants Fox News to fire Tucker Carlson over racist comments
CNN
Now playing
02:36
The truth behind Covid-19 vaccines for sale on the dark web
Now playing
04:22
Levi's CEO has message for Mitch McConnell
Now playing
01:54
'You think I'm racist': Former Fox News host storms off camera
Korie Robertson and Willie Robertson of the reality series "Duck Dynasty" attend the Capitol File 58th Presidential Inauguration Reception at Fiola Mare on January 19, 2017 in Washington, DC.
Paul Morigi/Getty Images
Korie Robertson and Willie Robertson of the reality series "Duck Dynasty" attend the Capitol File 58th Presidential Inauguration Reception at Fiola Mare on January 19, 2017 in Washington, DC.
Now playing
01:46
'Duck Dynasty' stars discuss raising biracial son on new show
FOX/"The Masked Singer"
Now playing
01:24
Nick Cannon makes big splash in 'Masked Singer' return
The Drew Barrymore Show/YouTube
Now playing
01:26
'Mom' star speaks out about not having kids in real life
Heinz ketchup packets are shown in New York on Monday, August 22, 2005. H.J. Heinz Co., the world's biggest ketchup maker, said first-quarter profit fell 19 percent on expenses to cut jobs and sell businesses.  (Photo by Andrew Harrer/Bloomberg via Getty Images)
Andrew Harrer/Bloomberg/Getty Images
Heinz ketchup packets are shown in New York on Monday, August 22, 2005. H.J. Heinz Co., the world's biggest ketchup maker, said first-quarter profit fell 19 percent on expenses to cut jobs and sell businesses. (Photo by Andrew Harrer/Bloomberg via Getty Images)
Now playing
01:53
Restaurants face a nationwide ketchup packet shortage
Camerota Berman both
CNN
Camerota Berman both
Now playing
02:33
CNN anchor Alisyn Camerota gets surprise tribute from co-anchor
Citigroup Chairman Richard Parsons delivers remarks on the US economy at the New York State Bar Association meetings in New York, January 28, 2009. Troubled US banking giant Citigroup last week named Parsons as its new chairman, the longtime top executive at media giant Time Warner, to steer it through its most challenging period.  AFP PHOTO / Emmanuel Dunand (Photo credit should read EMMANUEL DUNAND/AFP via Getty Images)
EMMANUEL DUNAND/AFP/AFP via Getty Images
Citigroup Chairman Richard Parsons delivers remarks on the US economy at the New York State Bar Association meetings in New York, January 28, 2009. Troubled US banking giant Citigroup last week named Parsons as its new chairman, the longtime top executive at media giant Time Warner, to steer it through its most challenging period. AFP PHOTO / Emmanuel Dunand (Photo credit should read EMMANUEL DUNAND/AFP via Getty Images)
Now playing
02:47
Dick Parsons: Georgia law is a bald-faced attempt to suppress Black vote
Courtesy of Warner Bros. Picture
Now playing
02:54
'Godzilla vs. Kong' is a pandemic box office hit
Now playing
01:30
5 ways to cut your plastic waste
CNN/Getty Images
Now playing
04:40
Stelter: After elevating Gaetz, Fox News barely covering scandal
NASA/Goddard/University of Arizona
Now playing
01:08
See NASA spacecraft successfully land on an asteroid
Now playing
06:51
Alisyn Camerota's kids wish her good luck in new role on CNN
(CNN) —  

A desperate rescue attempt managed to save half of a pod of sperm whales which beached off the coast of Aceh, Indonesia.

WWF Indonesia said 10 whales were stranded on Monday, seven of whom were returned to the water thanks to the efforts of the navy and locals.

Three whales died on the beach, and in a heartbreaking development for the rescuers, one of the animals that had been saved came back and was stranded again, this time fatally.

Dwi Aryo Tjiptohandono, WWF Indonesia’s marine and fisheries campaign coordinator, said the group was investigating how the whales had come to be stranded. Autopsies will be carried out on the dead animals.

Rescuers attempt attempt to push stranded whales back into the ocean at Ujong Kareng beach.
Zulkarnaini/AP
Rescuers attempt attempt to push stranded whales back into the ocean at Ujong Kareng beach.

He added the rescuers fear the six whales returned to the sea might attempt to come back for the four dead animals, risking being beached again.

According to Whale Stranding Indonesia, a monitoring group, at least 30 animals have beached since the beginning of the year, including whales, dolphins and dugongs, also known as sea cows.

Of the 10 whales stranded on the beach, six survived.
WWF Indonesia
Of the 10 whales stranded on the beach, six survived.

It is not exactly clear why whales and other marine mammals get stranded, but experts say it can be a combination of factors, from old age, illness or injury, to accidental navigation errors.

“The strong social bonding of some species of whales can cause mass strandings,” according to Project Jonah, a New Zealand-based whale charity.

“One of the most common patterns with mass strandings is that one or two whales will initially strand. These animals will send out distress signals and members from their pod may attempt to help or mill slightly off-shore. A receding tide will then catch these animals out and soon the whole pod will become stranded.”

Locals and the Indonesian navy worked to return the animals to the ocean.
WWF Indonesia
Locals and the Indonesian navy worked to return the animals to the ocean.

Earlier this year, New Zealand saw one of its worst stranding events in history, when more than 400 pilot whales beached on Farewell Spit on the tip of South Island.

More than 250 of whales died as rescuers desperately attempted to return them to the water.

The largest whale stranding in New Zealand took place in 1918, when 1,000 whales stranded themselves on the Chatham Islands.