The acceleration due to gravity always acts in the downward direction and its value remains constant.
During the motion of the soccer ball from position x to position y, the vertical acceleration is the acceleration due to gravity.
The magnitude of the soccer ball's vertical acceleration remains the same.
Thus, it remains the same.