The apps are generally high quality because of the limited device pool.
It makes testing and making sure everything works vastly easier across the range of devices when you don't have literally thousands of possible devices to account for.
Then there's the monopolistic and highly curated app store.
In my experience as a former employee at one of the largest mobile game developers, the reason iOS apps are high quality is because the users are richer and deliver higher revenue.