Dafq means forceful emission, whereas shahwah refers to the state of sexual desire. Semen may separate internally during desire yet appear outside later when desire has subsided.
The moment of internal separation and the moment of external discharge are separate points, and that distinction underlies the juristic difference.