There were the harrowing scenes after Nigeria's air force accidentally bombed a refugee camp killing at least 52 people and injuring 120.
The military said the air strike, in the country's northeast, was intended to target Boko Haram terrorists.
Medecins Sans Frontieres (MSF) said the strike occurred in Rann in Borno state, the epicentre of the jihadist group's seven-year-long bid to create an Islamic caliphate.
Nigerian General Lucky Irabor, a regional military commander, pinpointed the incident at Kala Balge, a district that includes Rann.
Irabor, who said it was too early to determine the cause of the incident, told journalists an unknown number of civilians had been killed.
He added that humanitarian workers from MSF and the International Committee of the Red Cross (ICRC) were among the injured.
"At least 52 people were killed and 120 wounded," said Tim Shenk, a spokesman for the MSF medical charity.
"The organisation's medical and surgical teams in the region are preparing to treat evacuated patients."
An ICRC spokeswoman said six Nigeria Red Cross members were killed and 13 wounded.
The United Nations Children's Fund (UNICEF) said the deaths "underline the importance of protecting civilians in complex humanitarian emergencies."
The Boko Haram insurgency has killed more than 15,000 people since 2010 and forced some two million to flee their homes, many of whom have moved to camps for internally displaced people.
Femi Adesina, a spokesman for President Muhammadu Buhari, said: "The president pledges federal help for the state government in attending to this regrettable operational mistake."
The air strike came amid an offensive against Boko Haram by Nigeria's military over the last few weeks.
Buhari said last month a key camp in the jihadist group's Sambisa forest base in Borno state had fallen.
The presidency also said the air strike occurred during the "final phase of mopping up insurgents in the northeast."
Boko Haram has stepped up attacks in recent weeks as the end of the rainy season has enabled its fighters to move more easily in the bush.
A video featuring an audio recording purporting to be Boko Haram leader Abubakar Shekau, which was posted on social media late on Monday, said the group was behind twin suicide bombings at a university earlier that day which killed two and injured 17 others.