The material used to make the ball and air pressure are the two things that affect how high a ball bounces. The more elasticity a ball has, the higher it will bounce.
The elasticity of a material is the ability it has to revert back to its original shape after it is changed. When the ball hits a surface, the pressure of the material reverting back to its shape causes it to bounce. Rubber, for instance, has a high amount of elasticity and is more prone to bounce. The more air pressure a ball has in it, the higher it will bounce as well.