Here is a link to an article about where a basketball bounce best. Some of the key components is physics, gravity, and energy. A basketball is round and filled with air.
https://www.scientificamerican.com/article/surface-science-where-does-a-basketball-bounce-best/
Here is a link to a video about the best basketballs:
This is related to engineering because someone had to build the basketball in a specific shape so it would bounce back up to you every time you throw it to the ground.