Dear Student,
When the piston is pulled up in the syringe, the pressure inside the syringe is much less than atmospheric pressure. As a result atmospheric pressure forces the liquid to rise up in the syringe.
Thus atmospheric pressure s involved in the filling of a liquid in a syringe
Regards,,