Why is Pakistan bombing Afghanistan and what will happen next?

Hundreds of civilians killed at drug rehabilitation centre in Kabul hit by Pakistani air strikes