Normal for taking pictures makes my previous active iOS app get restarted when I go back to it?

Hello,

Is it normal for taking pictures to makes my previous active iOS app get restarted when I go back to it? Does Camera app take a lot of resources or something? I am using an iPhone 12 mini with iOS v17 (haven’t upgraded to v18 yet).

Thank you for reading and hopefully answering soon. :)