I have a 13 Pro Max running iOS 17.6 and my camera has been doing this for quite sometime. And by quite sometime I mean about a year. Ive tried soft reseting it, hard reset, etc. Nothing changes. Ill go to close out an app and the camera will randomly open.