Afghanistan on Monday accused Pakistan's military of targeting a Kabul hospital in airstrikes, with Afghan officials saying more than 400 people had been killed.