When you throw the ball upwards, you give it a vertical velocity--- Vy, but keep in mind that while throwing the ball up you did not apply force in horizontal direction, thereby keeping its horizontal velocity Vx unchanged and still the same as that of bus.
Due to gravitation pull, Vy diminishes as shown in image and then again increases in downward direction.