This is a forum, please leave your Indo-Pak baggage in another thread. India is in all ways measurable far more important to Bangladesh than Pakistan. As a land it's an enclave within Indian borders and the sea. It's trade is substantial with India, although in my estimation it ought to be higher for mutual benefit, but I've no doubt it will grow. Strategically, Pakistan has little or nothing to offer BD, India has everything to offer BD. And Pakistan can also never be a real threat to BD hypothetically, whereas India can, hypothetically. It therefore stands to reason that on a diplomatic level, on Indo-Pak issues, BD should remain neutral where possible, and side with India publicly where it may reap the rewards of Indian approval of anti-Pakistan sentiments and especially where its own history with Pakistan comes in to play, although that has its own motivations because of wrongs done before BD became a nation. Hasina's hysterics, though a little pathetic, aren't without reason, she stand to gain something even if from our perspective it seems petty.
Pakistan did the same with China and Taiwan, China means everything to us, and Taiwan means little or nothing. We cut diplomatic ties with Taiwan, not because the average Pakistani knows or cares about the history of Taiwan, but because we stand to gain something in supporting the Chinese and their position on the matter.
You should take a moment and read what I'm actually saying here, it's quite straight forward and you seem to be reading it wrong. And on Afghanistan, our history with them is older than you know, you can believe me on that, every time I discuss this with an Indian, with due respect, they always lack any knowledge on the matter besides an Indian perspective limited to the last twenty or thirty years.