Could be water damage on the camera switch (or the flex cable(s) that connects to the side buttons).
open