Apple has a long history of developing functionality and using it internally before releasing them publicly. The alternative is releasing a half baked API that it has to support forever. It’s a lot easier to change an API that is only used internally than it is to change an API which people depend on.
Yes, Apple produced a better solution than allowing random third parties the ability to record everything you do on your phone. Would you prefer that they never increase privacy and security?