Volume = V
mass of ball = m
cross-sectional Area = A
initial pressure on either side of the ball = atmospheric pressure = P
Let the charge in volume of air when ball is pressed be ∆V
∆V = Ay (y = displacement)
Now, Bulk modulus of elasticity

The above equation is of the form,

Hence it is in SHM.