Chosen Solution

i have an iphone 5C and the touch function is acting strange. It will work fine one minute and then it will act weird and not have touch function in a vertical line but everywhere else it will. Also the back camera stopped working, iOS says that iphone needs to cool down before you can use flash and the camera apps won’t show the back camera just a frozen black background. Theres no water damage as far as I know because the water indicator stickers are white. Anyone know what could be causing this to happen? I cleaned the connectors of both touch and camera but still isn’t helping

I agree with ben, crack it open and verify your connections for your touchscreen and camera.