Why does a tennis ball bounce higher on hills than in plains?

Maximum height attained by a projectile is a/g. As the value of g is less on hills them on plains. So a tennis ball bounces higher on hills than on plane