DHAKA - Bangladeshi officials began investigating the cause of a massive fire that left several dead at a Rohingya refugee camp, as officials sifted through the debris looking for more victims on Tuesday.

The fire ripped through the Balukhali camp near the southeastern town of Cox's Bazar late on Monday, burning through hundreds of homes as people raced to recover their meagre possessions.

Police have so far confirmed only two deaths after recovering the bodies. Rohingya witnesses, however, said several people had died in the blaze that has left tens of thousands with no shelter.

Some witnesses said barbed wire fencing around the camp trapped many people, causing some of the casualties and leading international humanitarian agencies to call for its removal.

"The cause of the fire is still unknown," said Zakir Hossain Khan, a senior police official. "Authorities are investigating to determine the cause of the fire."

Humanitarian organization Refugees International estimated 50,000 people had been displaced - in already crowded camps that house more than one million Rohingya refugees - and the extent of the damage may not be known for some time.

"Many children are missing, and some were unable to flee because of barbed wire set up in the camps," it said in a statement.

John Quinley, of Fortify Rights, a rights organization working in the area, said he had heard similar reports, adding the fences had hampered the distribution of humanitarian aid and vital services at the camps in the past.

"The government must remove the fences and protect refugees," Quinley said in a statement. "There have now been a number of large fires in the camps including a large fire in January this year...The authorities must do a proper investigation into the cause of the fires."

The vast majority of the people in the camps fled Myanmar in 2017 amid a military-led crackdown on the Rohingya that U.N. investigators said was executed with "genocidal intent", charges Myanmar denies.

(Reporting by Ruma Paul, writing by Euan Rocha; editing by Jane Wardell) ((euan.rocha@tr.com; +91 22 6180 7257; Reuters Messaging: euan.rocha.reuters.com@reuters.net))