Mathematics of Smoothed Particle Hydrodynamics: A Study via Nonlocal Stokes Equations