You’ve actually stumbled on an iOS (possibly security) limitation
Apple doesn’t want apps to be able to access your camera in the background, so no third-party apps are given the permission to do so. On Android, Signal is able to still record when you leave the app.
There’s this (older but should still be relevant) segment from Apple’s Dev site covering it: Apple Developer Documentation