Afghanistan has accused Pakistan of an airstrike that killed at least 400 at a Kabul hospital, escalating ongoing tensions.