David added his second just before halftime, bundling home from close range after Abunada had saved Larin's header, leaving Qatar with a mountain to climb.
With two points from three matches, Afghanistan now face a must-win situation in their final group game against Sri Lanka.