Hi there!
When the ball reaches the highest point of its trajectory, it is experiencing an acceleration due to gravity of 9.8 m/s² DOWNWARD.
Keep in mind, the ball is experiencing this downward acceleration at ALL points of its trajectory, resulting in a change in its VERTICAL velocity.