It could be software issue and hardware issue. Software issues are outdated drivers, faulty updates, or incorrect power settings. Update your driver using Advanced driver updater and also check faulty power supply.
There seems to be an issue with replacing. Before contacting the person, check for dirt on the screen, remove any screen protectors, restart your phone, and try activating safe mode.
Outdated or corrupt drivers can often cause issues when connecting a wireless mouse so please update your outdated driver and also check bluetooth connectivity.
Try these fixes below: Check for Software Updates. Clear Cache of Camera App. Boot your phone into safe mode. You can use third-Party Camera App to to see if it works or not.