It's a Muslim country completely surrounded by a Hindu country. I'm sure that's part of it.
But that Hindu country fought a war that lead to Bangladesh becoming an independent country. Before it was part of Pakistan.