Hello,
The drag force is calculated by integrating pressure over an object's surface. Bernoulli's principle dictates that pressure and velocity vary along a streamline to preserve total pressure. This results in the dynamic head (velocity) becoming zero at the surface of an obstacle, and hence static pressure becomes dominant. With that said, the drag force also keeps the viscous forces into account in addition to the static pressure distribution.