iPad screen scaling(zoom in and out

Apple rejected my iPhone only game because the game doesn’t scale correctly when zoomed in/out on iPad. How do I fix this?

Looks like your UI is not setup to adapt to screen size. Here’s a good read to get a better idea what you can do: Designing UI for Multiple Resolutions. I suggest using Device Simulator (it’s built in Unity 2021.1, package not needed) to check out how your game will look on different devices to catch issues early.