Here’s how to use garage band to record a ringtone if you just want to make your own performance.
I feel this is better than ripping the system provided sounds since you can license your creations using garage bang, but don’t have license to reuse Apple sounds. Transforming a creation has more fair use benefits from a licensing standpoint than just ripping the digital asset and using it (which is technically possible of course).
The above terms cover copyright content that ships as part of iOS from the iOS 14 American License at https://www.apple.com/legal/sla/ Similar copyright licensing exists for third part apps. If you don’t have permission to extract a sound file from an app, be sure you keep those files for educational/personal use only until you get help understanding the legality of that action where you live.
I understand it’s easy to make a digital copy and possibly unpopular to check license details when you want to remix or reuse someone else’s artistic work.