I don't think we can blame Pakistan here to be honest. The country itself is facing an economic crisis/bankruptcy while askig for bail outs/handouts from wherever they can get and you want them to go around making big moves here? Seriously it seems some people are so emotional that they forget all rationality.
By the way what do you think Pakistan can even do to change the situation in Gaza now? They are not a stake holder in this conflict dude. Moroever when Hamas launched this assault they knew the consequences very well and they knew they can't stop Israel from attacking Gaza whatever way they want yet they still choose to go ahead just to score some political points. As I said before, this is why its not good when non state actor or rebel/militias group takes over a country and undermines the state itself. When hamas toppled the Palestinian government and seized power through arms this was bound to happen..since non state actors have no responsibility whatsoever towards anything and they can afford not to think much about the consequences of much of their actions. Their reasonings are often different from a government/state and rightly so. It's like say imagine TTP takes over Pakistan and topples your government or makes the Pakistani government/military second fiddle to them . You think the TTP will have the same consideration as Pakistans government in the way they act? Lol Just look Hezbolah as an example I'm sure you know that if the Lebanese governemnt and military was the one in real control of Lebanon they will have had different considerations while making their policies and the 2006 war with Israel where Israel destroyed and razed to the ground much of Lebanons infrastructure and loss of lives wgich contributed to lebanons eventual economic crises and bankruptcy years later would never have happened had Lebanons government not been undermined in the first place and be taken over by a militia group whose allegiance lies with a foreign power.